This commit is contained in:
parent
a08ba9ad4c
commit
872628fe05
1 changed files with 5 additions and 5 deletions
|
@ -10,27 +10,27 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- nix develop --command scripts/build.sh
|
- nix develop --command scripts/build.sh
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request, tag]
|
event: [push, tag, manual]
|
||||||
tag: v*
|
tag: v*
|
||||||
|
branch: main
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
commands:
|
||||||
- nix develop --command scripts/test.sh
|
- nix develop --command scripts/test.sh
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, manual]
|
||||||
|
branch: main
|
||||||
|
|
||||||
release-main:
|
release-main:
|
||||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||||
commands:
|
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
|
- nix develop --command scripts/release.sh
|
||||||
secrets:
|
secrets:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
- git_credentials
|
- git_credentials
|
||||||
when:
|
when:
|
||||||
event: push
|
event: [push, manual]
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
release-gitea:
|
release-gitea:
|
||||||
|
|
Loading…
Reference in a new issue