This commit is contained in:
parent
a08ba9ad4c
commit
872628fe05
1 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue