update dav url
Build/Publish XBPS / build-and-publish (push) Successful in 10s
Details
Build/Publish XBPS / build-and-publish (push) Successful in 10s
Details
This commit is contained in:
parent
900b637c46
commit
70e94d6f26
|
@ -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 {} \;
|
||||||
|
|
Loading…
Reference in New Issue