Update '.woodpecker.yml'
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details

This commit is contained in:
Emerald 2022-09-19 22:08:41 +00:00
parent f109d5082c
commit c31c7c17eb
1 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,14 @@ pipeline:
- apt install libasound2-dev
- npm ci
- npm run tauri build
upload:
image: alpine/curl
when:
event: [tag]
branch: main
secrets: [gitea_key]
commands:
- curl --user Emerald:$GITEA_KEY --upload-file target/release/bundle/deb/*.deb https://gitea.greenboi.me/api/packages/Emerald/generic/cathode/${CI_COMMIT_TAG##v}/cathode-tube.deb
- curl --user Emerald:$GITEA_KEY --upload-file target/release/bundle/appimage/*.AppImage https://gitea.greenboi.me/api/packages/Emerald/generic/cathode/${CI_COMMIT_TAG##v}/cathode-tube.AppImage