From a114ade4c32794b48e48fb2d59020bff5778500d Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Fri, 16 Feb 2024 22:16:48 -0800 Subject: [PATCH] exclude build if branch is main --- .woodpecker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5d98844..a713eef 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,6 +10,8 @@ steps: secrets: [ cloudflare_account_id, cloudflare_api_token ] when: event: [push, pull_request] + branch: + exclude: [ main ] - name: deploy image: nixos/nix