separate images
ci/woodpecker/push/woodpecker Pipeline is pending Details

This commit is contained in:
Kiara Grouwstra 2022-10-30 23:42:05 +01:00
parent 3e991b00b9
commit fc56ad025c
1 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
pipeline:
package:
package-ebook:
image: pandoc/latex:latest
commands:
- apk update && apk add curl
@ -9,6 +9,15 @@ pipeline:
- curl --user ci:$TOKEN --upload-file dist/${CI_REPO_NAME}.html https://code.bij1.org/api/packages/bij1/generic/${CI_REPO_NAME}/html/${CI_REPO_NAME}.html
- pandoc metadata.txt README.md -o dist/${CI_REPO_NAME}.epub -s --toc --css=style.css
- curl --user ci:$TOKEN --upload-file dist/${CI_REPO_NAME}.epub https://code.bij1.org/api/packages/bij1/generic/${CI_REPO_NAME}/epub/${CI_REPO_NAME}.epub
secrets: [ token ]
when:
event: push
branch: main
package-pdf:
image: witiko/markdown:latest
commands:
- apk update && apk add curl
- xelatex --shell-escape -interaction=nonstopmode main.tex
- curl --user ci:$TOKEN --upload-file main.pdf https://code.bij1.org/api/packages/bij1/generic/${CI_REPO_NAME}/pdf/${CI_REPO_NAME}.pdf
secrets: [ token ]