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

fix: workflow

parent bc522d70
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,9 @@ on: ...@@ -5,6 +5,9 @@ on:
jobs: jobs:
build-docs: build-docs:
permissions:
contents: read
id-token: write
name: Build Docs name: Build Docs
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
...@@ -14,7 +17,7 @@ jobs: ...@@ -14,7 +17,7 @@ jobs:
env: env:
POETRY_VERSION: "1.8.3" POETRY_VERSION: "1.8.3"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache Poetry - name: Cache Poetry
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
...@@ -43,6 +46,7 @@ jobs: ...@@ -43,6 +46,7 @@ jobs:
id: auth id: auth
uses: google-github-actions/auth@v2 uses: google-github-actions/auth@v2
with: with:
project_id: ${{ vars.GCP_PROJECT_ID }}
workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }} workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }} service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}
- name: Upload Docs - name: Upload Docs
......
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