2023-01-26 02:38:52 +00:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
tags: true
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
|
|
commands:
|
|
|
|
- nix develop --command scripts/build.sh
|
|
|
|
when:
|
|
|
|
event: [push, manual]
|
|
|
|
|
2023-01-27 02:33:12 +00:00
|
|
|
test:
|
|
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
|
|
commands:
|
|
|
|
- nix develop --command scripts/test.sh
|
|
|
|
when:
|
|
|
|
event: [push, manual]
|
2023-01-26 02:38:52 +00:00
|
|
|
|
2023-01-26 02:40:27 +00:00
|
|
|
release:
|
2023-01-26 02:38:52 +00:00
|
|
|
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
|
|
|
commands:
|
|
|
|
- nix develop --command scripts/release.sh
|
|
|
|
secrets:
|
|
|
|
- gitea_token
|
|
|
|
- git_credentials
|
|
|
|
- npm_token
|
|
|
|
when:
|
|
|
|
event: [push, manual]
|
|
|
|
branch: main
|