Hopefully allow multiple packages to be published
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Jef Roosens 2022-01-02 14:23:17 +01:00
parent ccee9800f5
commit 7803e08cb4
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 2 additions and 1 deletions

View File

@ -17,4 +17,5 @@ pipeline:
image: 'archlinux:latest'
commands:
# Publish the package
- 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'
- 'ls -1 *.pkg* | xargs -I{} curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'
# - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'