markdowny/.woodpecker.yml
2023-01-25 22:15:16 -06:00

33 lines
836 B
YAML

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]
# test:
# image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
# commands:
# - nix develop --command scripts/test.sh
# when:
# event: [push, manual]
release:
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