File tree 5 files changed +7
-11
lines changed
5 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 15
15
# Needed as recommended by npm docs on publishing with provenance https://docs.npmjs.com/generating-provenance-statements
16
16
permissions :
17
17
id-token : write
18
- contents : write
19
18
environment : Release
20
19
runs-on : ubuntu-latest
21
20
outputs :
Original file line number Diff line number Diff line change @@ -14,10 +14,9 @@ permissions:
14
14
jobs :
15
15
release-docs :
16
16
permissions :
17
- actions : write
18
- id-token : write
17
+ id-token : write # trade JWT token for AWS credentials in AWS Docs account
19
18
secrets : inherit
20
- uses : ./.github/workflows/reusable-publish-docs .yml
19
+ uses : ./.github/workflows/reusable_publish_docs .yml
21
20
with :
22
21
version : main
23
22
alias : stage
Original file line number Diff line number Diff line change 1
1
name : Deploy layer to all regions
2
2
3
3
permissions :
4
- id-token : write
5
4
contents : write
6
- pages : write
7
5
8
6
on :
9
7
# Manual trigger
57
55
needs :
58
56
- build-layer
59
57
uses : ./.github/workflows/reusable_deploy_layer_stack.yml
58
+ permissions :
59
+ id-token : write
60
60
with :
61
61
stage : " BETA"
62
62
artifact-name : " cdk-layer-artifact"
69
69
needs :
70
70
- deploy-beta
71
71
uses : ./.github/workflows/reusable_deploy_layer_stack.yml
72
+ permissions :
73
+ id-token : write
72
74
with :
73
75
stage : " PROD"
74
76
artifact-name : " cdk-layer-artifact"
95
97
release-docs :
96
98
needs : [ deploy-prod, prepare_docs_alias ]
97
99
permissions :
98
- contents : write
99
- pages : write
100
100
id-token : write
101
101
secrets : inherit
102
- uses : ./.github/workflows/reusable-publish-docs .yml
102
+ uses : ./.github/workflows/reusable_publish_docs .yml
103
103
with :
104
104
version : ${{ inputs.latest_published_version }}
105
105
alias : ${{ needs.prepare_docs_alias.outputs.DOCS_ALIAS }}
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ permissions:
28
28
jobs :
29
29
release-docs :
30
30
permissions :
31
- actions : write # upload artifacts (for debugging issues with the docs build)
32
31
id-token : write # trade JWT token for AWS credentials in AWS Docs account
33
32
secrets : inherit
34
33
uses : ./.github/workflows/reusable_publish_docs.yml
Original file line number Diff line number Diff line change 47
47
runs-on : ubuntu-latest
48
48
environment : Docs
49
49
permissions :
50
- actions : write # upload artifacts (for debugging issues with the docs build)
51
50
id-token : write # trade JWT token for AWS credentials in AWS Docs account
52
51
steps :
53
52
- name : Checkout code
You can’t perform that action at this time.
0 commit comments