update dav url
Build/Publish XBPS / build-and-publish (push) Successful in 10s Details

This commit is contained in:
Luca Bilke 2024-04-03 14:25:01 +02:00
parent 900b637c46
commit 70e94d6f26
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ jobs:
set -xeu set -xeu
curl -so "/target/${{ vars.ARCH }}-repodata" "https://xbps.snaile.de/${{ vars.ARCH }}-repodata" curl -so "/target/${{ vars.ARCH }}-repodata" "https://xbps.snaile.de/${{ vars.ARCH }}-repodata"
xbps-rindex --add "/target/${{ env.PACKAGE_NAME }}.${{ vars.ARCH }}.xbps" 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" 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 rm /tmp/privkey.pem
ls -lAH /target 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 {} \;