From 6b0201408cf0679db5380865b1aa4cb1c1eb7af1 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Wed, 8 Oct 2025 04:03:13 +0300 Subject: [PATCH] Deb PPA / aptly: hardlinks don't work through SSHFS --- .github/workflows/deb-publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deb-publish.yml b/.github/workflows/deb-publish.yml index efb7471d..80bdb6de 100644 --- a/.github/workflows/deb-publish.yml +++ b/.github/workflows/deb-publish.yml @@ -236,7 +236,7 @@ jobs: run: | set -xe SNAPSHOT_DATE=`date -u +%Y%m%d%H%M%S` - MOUNTPOINT="${{ github.workspace }}/remotefs" + MOUNTPOINT="/home/aptbcachefsorg/uploads" mkdir -p "$MOUNTPOINT" if [ -n "${{ secrets.SSH_HOST }}" ]; then mkdir -p ~/.ssh @@ -256,6 +256,10 @@ jobs: tee -a ~/.aptly.conf < /dev/null 2>&1) || \ - aptly publish snapshot -acquire-by-hash -origin="apt.bcachefs.org" -label="apt.bcachefs.org Packages" $SNAPSHOT_NAME $DIST - aptly publish switch $REPO_SUITE $DIST $SNAPSHOT_NAME + aptly publish snapshot -acquire-by-hash -origin="apt.bcachefs.org" -label="apt.bcachefs.org Packages" $SNAPSHOT_NAME filesystem:public:$DIST + aptly publish switch $REPO_SUITE filesystem:public:$DIST $SNAPSHOT_NAME echo '::endgroup::' done umount "$MOUNTPOINT" || /bin/true