diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml new file mode 100644 index 00000000..0788f271 --- /dev/null +++ b/.github/workflows/staging.yaml @@ -0,0 +1,31 @@ +name: Deploy to staging + +on: + push: + branches: + - main + workflow_dispatch: + +permissions: + contents: read + id-token: write + +jobs: + publish-docs: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: AWS GitHub OIDC Login + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 + with: + role-to-assume: arn:aws:iam::529607359382:role/Proj-GHA-topo-s3-upload + aws-region: eu-west-1 + + - name: Publish docs site + uses: ARM-software/docs-action/publish@v0.1.3 + with: + docs-root: docs + site-id: topo + environment: staging