Add condition to deploy step in workflow

This commit is contained in:
Gregory Campbell
2026-06-05 15:55:49 -04:00
committed by GitHub
parent 004211aed6
commit 061544bb87
+2
View File
@@ -34,6 +34,8 @@ jobs:
# Deployment (Only runs if 'test' passes)
deploy:
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push'
steps:
- name: Trigger webhook using curl