diff --git a/.woodpecker.yml b/.woodpecker.yml index 1a4b02c..72d28d3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,5 +17,6 @@ pipeline: image: 'archlinux:latest' commands: # Publish the package - - 'ls -1 *.pkg* | xargs -I{} curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish' + - 'for pkg in $(ls -1 *.pkg*); do curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish; done' + # - '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'