Switched to vieter server

main
Jef Roosens 2022-02-13 12:53:56 +01:00
parent 7803e08cb4
commit cc05207f8d
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ pipeline:
publish:
image: 'archlinux:latest'
secrets:
- api_key
commands:
# Publish the package
- 'ls -1 *.pkg* | xargs -I{} curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'
- 'ls -1 *.pkg* | xargs -I{} curl -XPOST -T "{}" -H "X-API-KEY: $API_KEY" https://arch.r8r.be/publish'
# - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'