From e08b4eee906936b4c29c4585691733bd1e24f094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Thu, 17 Aug 2023 01:39:30 +0200 Subject: [PATCH] afsaf --- .forgejo/workflows/build.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 8442491..85e7305 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -28,15 +28,16 @@ jobs: sudo -u build repo-add repo-aur-myservermanager-com.db.tar.gz *.zst cp *.zst ${{ github.workspace }}/_pkg/ cp *.tar.gz ${{ github.workspace }}/_pkg/ + echo "Produced package and AUR contents" ls -la ${{ github.workspace }}/_pkg/ - # - name: Synchronize to custom ArchLinux User Repository - # env: - # KEY: ${{ secrets.DEPLOY_SSH_KEY }} - # USER: ${{ secrets.DEPLOY_SSH_USER }} - # HOST: ${{ secrets.DEPLOY_SSH_HOST }} - # run: | - # mkdir -p ~/.ssh - # echo $KEY | base64 -d >> ~/.ssh/id_rsa - # chmod 600 ~/.ssh/id_rsa - # rsync -az -zz -r --del -e 'ssh -p 2222 -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o StrictHostKeyChecking=no' ${{ github.workspace }}/_pkg/{*.zst,*.db.tar.gz,*.files.tar.gz} $USER@$HOST:/srv/http/myservermanager.com/htdocs/aur/ + - name: Synchronize to custom ArchLinux User Repository + env: + KEY: ${{ secrets.DEPLOY_SSH_KEY }} + USER: ${{ secrets.DEPLOY_SSH_USER }} + HOST: ${{ secrets.DEPLOY_SSH_HOST }} + run: | + mkdir -p ~/.ssh + echo $KEY | base64 -d >> ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + rsync -az -zz -r --del -e 'ssh -p 2222 -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o StrictHostKeyChecking=no' ${{ github.workspace }}/_pkg/{*.zst,*.db.tar.gz,*.files.tar.gz} $USER@$HOST:/srv/http/myservermanager.com/htdocs/aur/