From 7ba310c7ca78b2214e32fb577ab5cddcd7701160 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 23 Dec 2022 16:14:16 +0100 Subject: [PATCH] Execute the publish task only on the `main` branch --- .woodpecker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 370a41a..10b888f3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -25,3 +25,5 @@ pipeline: github_sshkey target_branch: gh-pages pages_directory: ./lib/static + when: + branch: main