From 70e94d6f26320980a88f48f49404ec35ad4156b1 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 3 Apr 2024 14:25:01 +0200 Subject: [PATCH] update dav url --- .forgejo/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 29eaf4b..31eba55 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -56,8 +56,8 @@ jobs: set -xeu curl -so "/target/${{ vars.ARCH }}-repodata" "https://xbps.snaile.de/${{ vars.ARCH }}-repodata" xbps-rindex --add "/target/${{ env.PACKAGE_NAME }}.${{ vars.ARCH }}.xbps" - echo "${{ secrets.XBPS_SIGNING_KEY }}" >/tmp/privkey.pem + echo '${{ secrets.XBPS_SIGNING_KEY }}' >/tmp/privkey.pem XBPS_PASSPHRASE=${{ secrets.XBPS_SIGNING_PASSPHRASE }} xbps-rindex --privkey /tmp/privkey.pem --sign-pkg --signedby "${{ vars.MAINTAINER }}" "/target/${{ env.PACKAGE_NAME }}.${{ vars.ARCH }}.xbps" rm /tmp/privkey.pem ls -lAH /target - find /target -type f -exec sh -c 'curl -X PUT --digest -u "${{ vars.XBPS_WEBDAV_USER }}:${{ secrets.XBPS_WEBDAV_KEY }}" -T "${1}" "https://xbps.snaile.de/dav/$(basename $1)"' find-shell {} \; + find /target -type f -exec sh -c 'curl -X PUT --digest -u "${{ vars.XBPS_WEBDAV_USER }}:${{ secrets.XBPS_WEBDAV_KEY }}" -T "${1}" "https://xbps.snaile.de/$(basename $1)"' find-shell {} \;