From 1e7c65c56d51bec0faf9a09f9df2c21a244fa60d Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Fri, 30 Dec 2022 17:15:54 -0600 Subject: [PATCH] ci: updating build process --- .woodpecker.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9b5823d..5dcd971 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,15 +10,16 @@ pipeline: commands: - nix develop --command scripts/build.sh when: - event: [push, pull_request, tag] - tag: v* + event: [push, manual] + branch: main test: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - nix develop --command scripts/test.sh when: - event: [push, pull_request] + event: [push, manual] + branch: main release-main: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest @@ -28,7 +29,7 @@ pipeline: - gitea_token - git_credentials when: - event: push + event: [push, manual] branch: main release-gitea: @@ -41,5 +42,5 @@ pipeline: api_key: from_secret: gitea_token when: - event: tag - tag: v* + event: [push, manual] + branch: main