Skip to content

Commit 6e04af7

Browse files
committed
BRANCH
1 parent 8c39524 commit 6e04af7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666
env:
6767
BRANCH: ${{ github.ref_name }}
6868
steps:
69-
7069
- name: Configure AWS Credentials
7170
uses: aws-actions/configure-aws-credentials@v4
7271
with:
@@ -88,7 +87,7 @@ jobs:
8887
run: make build-flex-manual
8988
- name: Deploy Flex Manual to Staging
9089
working-directory: ./docs
91-
run: python deploy_flex_manual.py staging --branch ${{ github.sha }}
90+
run: python deploy_flex_manual.py staging --branch ${{ env.BRANCH }}
9291
- name: Output URL to Summary
9392
run: |
9493
echo "## Flex Manual deployed to staging" >> $GITHUB_STEP_SUMMARY
@@ -124,7 +123,7 @@ jobs:
124123
run: make build-flex-manual
125124
- name: Deploy Flex Manual to Production
126125
working-directory: ./docs
127-
run: python deploy_flex_manual.py production --branch ${{ github.sha }}
126+
run: python deploy_flex_manual.py production --branch ${{ env.BRANCH }}
128127
- name: Output URL to Summary
129128
run: |
130129
echo "## Flex Manual deployed to production" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)