From cae57971f8d09071e876b4b1473ecb8eaebb35ea Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Fri, 15 Jul 2022 00:49:11 -0500 Subject: [PATCH] fix(ci): working on woodpecker tagging and releases --- .woodpecker.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 556cd83..276e5c6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,10 +9,9 @@ pipeline: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - nix develop --command scripts/build.sh - test: - image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest - commands: - nix develop --command scripts/test.sh + when: + event: [push, pull_request] release: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: @@ -23,6 +22,7 @@ pipeline: - gitea_token - git_credentials when: + event: [push] branch: main gitea: image: plugins/gitea-release @@ -32,4 +32,5 @@ pipeline: base_url: https://src.mfgames.com files: exit-planning*.* when: - branch: main + event: [tag] + tag: v*