exclude build if branch is main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
c6788bb076
commit
a114ade4c3
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ steps:
|
||||||
secrets: [ cloudflare_account_id, cloudflare_api_token ]
|
secrets: [ cloudflare_account_id, cloudflare_api_token ]
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
branch:
|
||||||
|
exclude: [ main ]
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
|
|
Loading…
Reference in a new issue