Skip to content

Commit 3f4f03a

Browse files
authored
Fix staging deploy in Makefile (#428)
1 parent 253592e commit 3f4f03a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

site/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ deploy-prod:
110110
quarto render --profile production && aws s3 sync ./_site s3://docs-ci-cd-prod/site/ --delete && aws cloudfront create-invalidation --distribution-id E2I9R40IH01NW3 --paths "/*" --no-cli-pager > /dev/null; \
111111
fi
112112

113-
# Deployment to https://docs.validmind.ai/
114-
# TO DO Fix Cloudfront distribution ID
113+
# Deployment to https://docs-staging.validmind.ai/
115114
deploy-staging:
116-
@if [ "`git rev-parse --abbrev-ref HEAD`" != "nrichers/sc-6277/deploy-staging-docs-site-workflow" ]; then \
115+
@if [ "`git rev-parse --abbrev-ref HEAD`" != "staging" ]; then \
117116
echo "You're not on the staging branch, no action taken."; \
118117
else \
119118
echo "\nDeploying staging site ..."; \
@@ -122,4 +121,4 @@ deploy-staging:
122121

123122
# Generate release notes
124123
release-notes:
125-
@python ../release-scripts/generate_release_objects.py
124+
@python ../release-scripts/generate_release_objects.py

0 commit comments

Comments
 (0)