diff --git a/.woodpecker.yml b/.woodpecker.yml index af55983..4e48319 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,27 +10,27 @@ pipeline: commands: - nix develop --command scripts/build.sh when: - event: [push, pull_request, tag] + event: [push, tag, manual] tag: v* + 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 commands: - - export DRONE="true" # Required to convince `env-ci` that it is a known CI - - git branch $DRONE_BRANCH origin/$DRONE_BRANCH # semantic-release needs this locally - nix develop --command scripts/release.sh secrets: - gitea_token - git_credentials when: - event: push + event: [push, manual] branch: main release-gitea: