From 2cf0286413277370bd123b3eb94f577b8799ccb2 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 24 Feb 2022 14:24:57 +0100 Subject: [PATCH] This should fix the arch publish --- .woodpecker/.arch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/.arch.yml b/.woodpecker/.arch.yml index 03f5d29..0417dbe 100644 --- a/.woodpecker/.arch.yml +++ b/.woodpecker/.arch.yml @@ -20,6 +20,6 @@ pipeline: image: 'archlinux:latest' commands: # Publish the package - - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $VIETER_API_KEY" https://pkgs.rustybever.be/api/publish' + - 'for pkg in $(ls -1 *.pkg*); do curl -XPOST -T "${pkg}" -H "X-API-KEY: $VIETER_API_KEY" https://arch.r8r.be/publish; done' secrets: - vieter_api_key