Skip to content

Commit a8592e0

Browse files
authored
Update dev_deployment.yml
More isolation of the dev branch
1 parent 7b4a82a commit a8592e0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/dev_deployment.yml

Lines changed: 8 additions & 0 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 * * * *'
@@ -26,8 +28,14 @@ jobs:
2628
uses: actions/checkout@v3
2729
with:
2830
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:

0 commit comments

Comments
 (0)