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 91
91
# publish_layer -> reusable_deploy_layer_stack -> reusable_update_layer_arn_docs
92
92
publish_layer :
93
93
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 }}
95
98
permissions :
96
99
id-token : write
97
100
contents : write
Original file line number Diff line number Diff line change 16
16
permissions :
17
17
id-token : write # trade JWT token for AWS credentials in AWS Docs account
18
18
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 }}
20
22
uses : ./.github/workflows/reusable_publish_docs.yml
21
23
with :
22
24
version : main
Original file line number Diff line number Diff line change 13
13
required : true
14
14
15
15
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"
16
23
inputs :
17
24
latest_published_version :
18
25
type : string
Original file line number Diff line number Diff line change 30
30
permissions :
31
31
id-token : write # trade JWT token for AWS credentials in AWS Docs account
32
32
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 }}
34
36
uses : ./.github/workflows/reusable_publish_docs.yml
35
37
with :
36
38
version : ${{ inputs.latest_published_version }}
You can’t perform that action at this time.
0 commit comments