diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f4556a30dd..2346dfcf77 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,23 +2,24 @@ name: Deploy docs on: push: - branches: [ develop ] + # TODO: temporary for test - to be removed + branches: [develop, ci/workflow-fixes] jobs: docs: permissions: contents: write id-token: write - runs-on: mangata-node-e2e-runners + runs-on: [compile-gke] container: - image: mangatasolutions/node-builder:multi-nightly-2022-11-21 + image: mangatasolutions/node-builder:multi-nightly-2023-05-22 steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v1 + - uses: actions/checkout@v4 + + - uses: google-github-actions/auth@v2 with: workload_identity_provider: '${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}' service_account: '${{ secrets.GCP_SERVICE_ACCOUNT }}' - - name: Cache the Cargo dependencies uses: mansagroup/gcs-cache-action@v1.0.3 with: @@ -34,7 +35,7 @@ jobs: run: cargo doc - name: Deploy to GCP - uses: google-github-actions/upload-cloud-storage@v1.0.3 + uses: google-github-actions/upload-cloud-storage@v2.1.0 with: path: ./target/doc/ destination: mangata-docs-node