27 lines
648 B
YAML
27 lines
648 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: [tag]
|
|
tag: v*
|
|
gitea:
|
|
image: plugins/gitea-release
|
|
settings:
|
|
base_url: https://src.mfgames.com
|
|
files:
|
|
- "*.pdf"
|
|
- "*.epub"
|
|
secrets:
|
|
- source: gitea_token
|
|
target: plugin_api_key
|
|
when:
|
|
event: [tag]
|
|
tag: v*
|