File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Docs Dev Deployment
22on :
33 push :
44 branches : ['dev']
5+ pull_request :
6+ branches : ['dev']
57 workflow_dispatch :
68 schedule :
79 - cron : ' */30 * * * *'
@@ -25,14 +27,20 @@ jobs:
2527 - name : Checkout
2628 uses : actions/checkout@v3
2729 with :
28- ref : dev
30+ # ref: dev
31+ fetch-depth : 0
2932 submodules : true
3033
34+ - name : Verify branch
35+ run : |
36+ echo "Current branch: $(git rev-parse --abbrev-ref HEAD)"
37+ echo "GitHub ref: ${{ github.ref }}"
38+
3139 - name : Configure AWS credentials
3240 uses : aws-actions/configure-aws-credentials@v1-node16
3341 with :
3442 aws-region : ${{ env.AWS_REGION }}
35- role-to-assume : arn:aws:iam::605436358845 :role/docs-dev-GithubActionsRole
43+ role-to-assume : arn:aws:iam::058264511034 :role/docs-dev-GithubActionsRole
3644 role-session-name : GithubActionsSession
3745
3846 - name : Login to Amazon ECR
You can’t perform that action at this time.
0 commit comments