remove old package before updating
ci/woodpecker/push/woodpecker Pipeline failed Details

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

View File

@ -5,6 +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}
- 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