We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c510864 commit af3581fCopy full SHA for af3581f
.github/workflows/docs-build.yaml
@@ -39,6 +39,9 @@ jobs:
39
build:
40
name: opentrons documentation build
41
runs-on: 'ubuntu-24.04'
42
+ permissions:
43
+ id-token: write
44
+ contents: read
45
steps:
46
- uses: 'actions/checkout@v4'
47
with:
@@ -77,3 +80,11 @@ jobs:
77
80
domain: 'docs.opentrons.com'
78
81
distPath: './api/docs/dist'
79
82
destPrefix: ${{ env.OT_BRANCH }}
83
+ - name: 'Configure AWS Credentials for docs bucket'
84
+ uses: aws-actions/configure-aws-credentials@v4
85
+ with:
86
+ role-to-assume: ${{ secrets.DOCS_SANDBOX_ROLE }}
87
+ aws-region: us-east-2
88
+ - name: 'Deploy docs to sandbox.docs bucket'
89
+ run: |
90
+ aws s3 sync ./api/docs/dist/ s3://sandbox.docs/api/ --delete --acl public-read
0 commit comments