fix: tweaking publication file
This commit is contained in:
parent
f3660591f7
commit
f9bd56ecef
3 changed files with 24 additions and 4 deletions
|
@ -8,15 +8,17 @@ steps:
|
|||
- name: build
|
||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||
commands:
|
||||
- rm -f *.pdf *.epub
|
||||
- nix develop --command scripts/build.sh
|
||||
- name: test
|
||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||
commands:
|
||||
- nix develop --command scripts/test.sh
|
||||
- name: release
|
||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||
commands:
|
||||
- rm -f *.pdf *.epub
|
||||
- nix develop --command scripts/release.sh
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: GITEA_TOKEN
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
|
|
@ -45,6 +45,24 @@
|
|||
"module": "@mfgames-writing/hyphen-pipeline"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"element": "chapter",
|
||||
"source": "src/counts.md",
|
||||
"pipeline": [
|
||||
{
|
||||
"module": "@mfgames-writing/hyphen-pipeline"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"element": "chapter",
|
||||
"source": "src/self-serve.md",
|
||||
"pipeline": [
|
||||
{
|
||||
"module": "@mfgames-writing/hyphen-pipeline"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ module.exports = {
|
|||
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
message:
|
||||
"chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
|
||||
"chore(release): v${nextRelease.version} [CI SKIP]\n\n${nextRelease.notes}",
|
||||
|
||||
plugins: [
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue