ignore error if no old package
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
434915b2c5
commit
0d2396b22a
|
@ -5,7 +5,7 @@ pipeline:
|
|||
commands:
|
||||
- apk update && apk add curl
|
||||
- mkdir dist
|
||||
- curl --user ci:$TOKEN -X DELETE https://code.bij1.org/api/packages/bij1/generic/${CI_REPO_NAME}/${CI_COMMIT_BRANCH}
|
||||
- curl --user ci:$TOKEN -X DELETE https://code.bij1.org/api/packages/bij1/generic/${CI_REPO_NAME}/${CI_COMMIT_BRANCH} || true
|
||||
- pandoc metadata.txt README.md -o dist/${CI_REPO_NAME}.html -s --toc --css=style.css --self-contained --metadata title=$CI_PROJECT_NAME
|
||||
- curl --user ci:$TOKEN --upload-file dist/${CI_REPO_NAME}.html https://code.bij1.org/api/packages/bij1/generic/${CI_REPO_NAME}/${CI_COMMIT_BRANCH}/${CI_REPO_NAME}.html
|
||||
- pandoc metadata.txt README.md -o dist/${CI_REPO_NAME}.epub -s --toc --css=style.css
|
||||
|
|
Loading…
Reference in New Issue