fix: trying a split approach

This commit is contained in:
D. Moonfire 2022-07-17 19:41:05 -05:00
parent cae57971f8
commit d403868214
2 changed files with 24 additions and 10 deletions

View file

@ -24,13 +24,3 @@ pipeline:
when:
event: [push]
branch: main
gitea:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://src.mfgames.com
files: exit-planning*.*
when:
event: [tag]
tag: v*

24
.woodpecker/tag.yml Normal file
View file

@ -0,0 +1,24 @@
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:
api_key:
from_secret: gitea_token
base_url: https://src.mfgames.com
files: exit-planning*.*
when:
event: [tag]
tag: v*