Skip to content

Commit c31fa11

Browse files
authored
Merge pull request #13 from pythonkr/feature/move-cd-to-aws
fix: 누락된 Action 속성 추가
2 parents 4dfa7c3 + 2b98cd6 commit c31fa11

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
branches:
2020
- "main"
2121

22+
permissions:
23+
id-token : write
24+
contents: read
25+
2226
jobs:
2327
build:
2428
runs-on: ubuntu-latest
@@ -34,7 +38,7 @@ jobs:
3438

3539
- uses: aws-actions/configure-aws-credentials@master
3640
with:
37-
role-session-name: GitHubActions
41+
role-session-name: ${{ github.run_id }}
3842
role-to-assume: ${{ secrets.AWS_FRONTEND_DEPLOYMENT_ROLE_ARN }}
3943
aws-region: ${{ vars.AWS_REGION }}
4044

0 commit comments

Comments
 (0)