Skip to content

Commit

Permalink
fix: docs.yaml workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
tenequm committed Jan 30, 2024
1 parent 52d1e5b commit 555e4aa
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand All @@ -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
Expand Down

0 comments on commit 555e4aa

Please sign in to comment.