diff --git a/.woodpecker.yml b/.woodpecker.yml index 0c85ba9..1d98144 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,6 +11,8 @@ pipeline: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - nix develop --command scripts/release.sh + when: + branch: main gitea: image: plugins/gitea-release settings: @@ -18,6 +20,7 @@ pipeline: from_secret: gitea_token base_url: https://src.mfgames.com files: exit-planning*.* - -branches: - - main + when: + event: tag + branch: main + tag: v*