Add condition to deploy step in workflow
This commit is contained in:
@@ -34,6 +34,8 @@ jobs:
|
|||||||
# Deployment (Only runs if 'test' passes)
|
# Deployment (Only runs if 'test' passes)
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: test
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger webhook using curl
|
- name: Trigger webhook using curl
|
||||||
|
|||||||
Reference in New Issue
Block a user