Run CI tests on pull requests (not just push to main)
This commit is contained in:
@@ -16,6 +16,11 @@ steps:
|
|||||||
|
|
||||||
- name: deployment
|
- name: deployment
|
||||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
settings:
|
settings:
|
||||||
host: swarm-test.autonomic.zone
|
host: swarm-test.autonomic.zone
|
||||||
stack: wordpress
|
stack: wordpress
|
||||||
@@ -35,6 +40,9 @@ steps:
|
|||||||
ENTRYPOINT_CONF_VERSION: v1
|
ENTRYPOINT_CONF_VERSION: v1
|
||||||
HTACCESS_CONF_VERSION: v1
|
HTACCESS_CONF_VERSION: v1
|
||||||
trigger:
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user