Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# Auto deploy should only trigger when the auto_deploy_branch match the current ref.
# We also check if `environment` has already been set, otherwise this flow could cause
# manual triggers to deploy to `auto_deploy_env` instead of the one specified in the trigger.
if: (inputs.auto_deploy_branch == github.ref_name) && inputs.environment == ''
if: (inputs.auto_deploy_branch == github.ref_name) && inputs.environment == '' && env.DEPLOYMENT_ENV != 'preview'
run: |
echo "Auto deploy branch ($AUTO_DEPLOY_BRANCH) matches current branch. Attempting autodeploy to $AUTO_DEPLOY_ENV."
echo "DEPLOYMENT_ENV=${AUTO_DEPLOY_ENV}" >> $GITHUB_ENV
Expand Down