exclude build if branch is main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Salar Rahmanian 2024-02-16 22:16:48 -08:00
parent c6788bb076
commit a114ade4c3

View file

@ -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