From 34b30074601ef33984a705225d683f4328d1390a Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 25 Jul 2023 03:59:08 +0200 Subject: [PATCH] fix(ci): deb upload --- .woodpecker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 45458ed..3fa93ba 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -81,7 +81,6 @@ pipeline: - sudo -u nobody lintian "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" || true - >- curl - -u "$${GITEA_API_USERNAME}:$${GITEA_API_PASSWORD}" - -XPUT - --data-binary "@prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" + --user "$${GITEA_API_USERNAME}:$${GITEA_API_PASSWORD}" + --upload-file "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" $${GITEA_API_REPOSITORY_DEB}