File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 9191 # publish_layer -> reusable_deploy_layer_stack -> reusable_update_layer_arn_docs
9292 publish_layer :
9393 needs : publish-npm
94- secrets : inherit
94+ secrets :
95+ AWS_LAYERS_BETA_ROLE_ARN : ${{ secrets.AWS_LAYERS_BETA_ROLE_ARN }}
96+ AWS_LAYERS_PROD_ROLE_ARN : ${{ secrets.AWS_LAYERS_PROD_ROLE_ARN }}
97+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9598 permissions :
9699 id-token : write
97100 contents : write
Original file line number Diff line number Diff line change 1616 permissions :
1717 id-token : write # trade JWT token for AWS credentials in AWS Docs account
1818 contents : read # read from this repo to publish docs
19- secrets : inherit
19+ secrets :
20+ AWS_DOCS_ROLE_ARN : ${{ secrets.AWS_DOCS_ROLE_ARN }}
21+ AWS_DOCS_BUCKET : ${{ secrets.AWS_DOCS_BUCKET }}
2022 uses : ./.github/workflows/reusable_publish_docs.yml
2123 with :
2224 version : main
Original file line number Diff line number Diff line change 1313 required : true
1414
1515 workflow_call :
16+ secrets :
17+ AWS_LAYERS_BETA_ROLE_ARN :
18+ description : " Role ARN for deploying the Layer to Beta"
19+ AWS_LAYERS_PROD_ROLE_ARN :
20+ description : " Role ARN for deploying the Layer to Prod"
21+ GITHUB_TOKEN :
22+ description : " Github Token to interact with Github"
1623 inputs :
1724 latest_published_version :
1825 type : string
Original file line number Diff line number Diff line change 3030 permissions :
3131 id-token : write # trade JWT token for AWS credentials in AWS Docs account
3232 contents : read # read from this repo to publish docs
33- secrets : inherit
33+ secrets :
34+ AWS_DOCS_ROLE_ARN : ${{ secrets.AWS_DOCS_ROLE_ARN }}
35+ AWS_DOCS_BUCKET : ${{ secrets.AWS_DOCS_BUCKET }}
3436 uses : ./.github/workflows/reusable_publish_docs.yml
3537 with :
3638 version : ${{ inputs.latest_published_version }}
You can’t perform that action at this time.
0 commit comments