Add condition to deploy step in workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user