Compare commits

...

3 commits
v1.0.3 ... main

Author SHA1 Message Date
D. Moonfire 42648eab72 chore: minor updates
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-31 16:08:41 -06:00
D. Moonfire ac0d62eb29 chore: updated metadata
Some checks failed
ci/woodpecker/manual/push Pipeline failed
ci/woodpecker/manual/tag Pipeline failed
2022-12-20 08:25:06 -06:00
D. Moonfire a42aad58f9 docs: added metadata for https://d.moonfire.us/ 2022-12-19 16:48:14 -06:00
4 changed files with 52 additions and 53 deletions

47
.woodpecker.yml Normal file
View file

@ -0,0 +1,47 @@
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, tag, manual]
tag: v*
branch: main
test:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands:
- nix develop --command scripts/test.sh
when:
event: [push, manual]
branch: main
release-main:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands:
- nix develop --command scripts/release.sh
secrets:
- gitea_token
- git_credentials
when:
event: [push, manual]
branch: main
release-gitea:
image: plugins/gitea-release
settings:
base_url: https://src.mfgames.com
files:
- "*.pdf"
- "*.epub"
api_key:
from_secret: gitea_token
when:
event: tag
tag: v*

View file

@ -1,26 +0,0 @@
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
- nix develop --command scripts/test.sh
when:
event: [push, pull_request]
release:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
commands:
- export DRONE="true" # Required to convince `env-ci` that it is a known CI
- git branch $DRONE_BRANCH origin/$DRONE_BRANCH # semantic-release needs this locally
- nix develop --command scripts/release.sh
secrets:
- gitea_token
- git_credentials
when:
event: [push]
branch: main

View file

@ -1,27 +0,0 @@
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*

5
dmoonfire.json Normal file
View file

@ -0,0 +1,5 @@
{
"categories": ["Writing"],
"tags": ["Book Layout"],
"summary": "Ideas on how to format spines to make it easier to sort and organize books."
}