From cc05207f8d74f48ae7ba7ffa7790332a8899957c Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 13 Feb 2022 12:53:56 +0100 Subject: [PATCH] Switched to vieter server --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1a4b02c..ea31fdc 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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'