This commit is contained in:
parent
eea223f9b8
commit
1e7c65c56d
1 changed files with 7 additions and 6 deletions
|
@ -10,15 +10,16 @@ pipeline:
|
|||
commands:
|
||||
- nix develop --command scripts/build.sh
|
||||
when:
|
||||
event: [push, pull_request, tag]
|
||||
tag: v*
|
||||
event: [push, manual]
|
||||
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
|
||||
|
@ -28,7 +29,7 @@ pipeline:
|
|||
- gitea_token
|
||||
- git_credentials
|
||||
when:
|
||||
event: push
|
||||
event: [push, manual]
|
||||
branch: main
|
||||
|
||||
release-gitea:
|
||||
|
@ -41,5 +42,5 @@ pipeline:
|
|||
api_key:
|
||||
from_secret: gitea_token
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
event: [push, manual]
|
||||
branch: main
|
||||
|
|
Loading…
Reference in a new issue