Skip to content
Snippets Groups Projects
Commit 0ebd9f39 authored by James Briggs's avatar James Briggs
Browse files

feat: add gcp upload for docs

parent 590d6b5f
No related branches found
No related tags found
No related merge requests found
...@@ -36,4 +36,18 @@ jobs: ...@@ -36,4 +36,18 @@ jobs:
pip install -r docs/source/requirements.txt pip install -r docs/source/requirements.txt
- name: Build docs - name: Build docs
run: | run: |
sphinx-build -M html docs/source docs/build sphinx-build -M html docs/source docs/build
\ No newline at end of file - uses: actions/checkout@v4
name: Checkout
- name: Authenticate to Google Cloud
id: auth
uses: google-github-actions/auth@v1.1.1
with:
token_format: "access_token"
workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}
- id: 'upload-file'
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: 'docs/build/html/**'
destination: 'docs-bucket-production/semantic-router'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment