Skip to content

Commit 8c39524

Browse files
committed
use tagged commit
1 parent e56e25b commit 8c39524

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs-build-deploy.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
env:
6767
BRANCH: ${{ github.ref_name }}
6868
steps:
69+
6970
- name: Configure AWS Credentials
7071
uses: aws-actions/configure-aws-credentials@v4
7172
with:
@@ -87,7 +88,7 @@ jobs:
8788
run: make build-flex-manual
8889
- name: Deploy Flex Manual to Staging
8990
working-directory: ./docs
90-
run: python deploy_flex_manual.py staging --branch ${{ env.BRANCH }}
91+
run: python deploy_flex_manual.py staging --branch ${{ github.sha }}
9192
- name: Output URL to Summary
9293
run: |
9394
echo "## Flex Manual deployed to staging" >> $GITHUB_STEP_SUMMARY
@@ -123,7 +124,7 @@ jobs:
123124
run: make build-flex-manual
124125
- name: Deploy Flex Manual to Production
125126
working-directory: ./docs
126-
run: python deploy_flex_manual.py production --branch ${{ env.BRANCH }}
127+
run: python deploy_flex_manual.py production --branch ${{ github.sha }}
127128
- name: Output URL to Summary
128129
run: |
129130
echo "## Flex Manual deployed to production" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)