ignore error if no old package
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Kiara Grouwstra 2022-10-30 23:04:44 +01:00
parent 434915b2c5
commit 0d2396b22a
1 changed files with 1 additions and 1 deletions

View File

@ -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