We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b719f commit 853ed9eCopy full SHA for 853ed9e
.github/workflows/ci.yml
@@ -318,7 +318,7 @@ jobs:
318
- name: Determine deployment
319
id: deploy
320
run: |
321
- if [ "${{ github.event_name }}" = "push" ] && [ "${{ github.ref }}" = "refs/heads/main" ]; then
+ if { [ "${{ github.event_name }}" = "push" ] || [ "${{ github.event_name }}" = "workflow_dispatch" ]; } && [ "${{ github.ref }}" = "refs/heads/main" ]; then
322
echo "should-deploy=true" >> "${GITHUB_OUTPUT}"
323
else
324
echo "should-deploy=false" >> "${GITHUB_OUTPUT}"
0 commit comments