Skip to content

Commit 64e36d7

Browse files
authored
Merge pull request 0xPolygon#693 from 0xPolygon/Swader-patch-1
Update dev_deployment.yml
2 parents 7b4a82a + 58809e3 commit 64e36d7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/dev_deployment.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Docs Dev Deployment
22
on:
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

0 commit comments

Comments
 (0)