Only run on cron
This commit is contained in:
parent
ef976c43fe
commit
ff4807f1f9
13
.drone.yml
13
.drone.yml
|
@ -5,6 +5,9 @@ name: api
|
||||||
steps:
|
steps:
|
||||||
- name: "Sync upstream to local"
|
- name: "Sync upstream to local"
|
||||||
image: nixery.dev/shell/git/openssh
|
image: nixery.dev/shell/git/openssh
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
environment:
|
environment:
|
||||||
GITEA_SSH_KEY:
|
GITEA_SSH_KEY:
|
||||||
from_secret: gitea_ssh_key
|
from_secret: gitea_ssh_key
|
||||||
|
@ -30,6 +33,8 @@ steps:
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
depends_on:
|
depends_on:
|
||||||
- "Sync upstream to local"
|
- "Sync upstream to local"
|
||||||
environment:
|
environment:
|
||||||
|
@ -56,6 +61,8 @@ steps:
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
depends_on:
|
depends_on:
|
||||||
- "Sync core with upstream"
|
- "Sync core with upstream"
|
||||||
settings:
|
settings:
|
||||||
|
@ -72,6 +79,8 @@ steps:
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
depends_on:
|
depends_on:
|
||||||
- "Sync core with upstream"
|
- "Sync core with upstream"
|
||||||
environment:
|
environment:
|
||||||
|
@ -82,11 +91,13 @@ steps:
|
||||||
- echo "$$TEA_CONFIG" > ~/.config/tea/config.yml
|
- echo "$$TEA_CONFIG" > ~/.config/tea/config.yml
|
||||||
- tea pulls create --base core --head devos
|
- tea pulls create --base core --head devos
|
||||||
|
|
||||||
- name: Notify failure
|
- name: "Notify failure"
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
depends_on:
|
depends_on:
|
||||||
- "Open pull request for failed merge"
|
- "Open pull request for failed merge"
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in a new issue