ci: artifact => server
Build and Deploy / Build and Upload (push) Successful in 1m10s
Build and Deploy / Upload (push) Failing after 10s

This commit is contained in:
redglow
2026-06-23 15:07:46 +02:00
parent b843f49399
commit d6a3bd55a7
+2 -2
View File
@@ -40,7 +40,7 @@ jobs:
uses: https://github.com/christopherHX/gitea-download-artifact@v4 uses: https://github.com/christopherHX/gitea-download-artifact@v4
with: with:
name: artifact name: artifact
path: artifact path: server
- name: Install rsync - name: Install rsync
run: | run: |
apt-get update apt-get update
@@ -54,7 +54,7 @@ jobs:
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
# scp -r -P 44 artifact owofannouncements@foxthesystem.space:~/server # scp -r -P 44 artifact owofannouncements@foxthesystem.space:~/server
rsync -avzxh --delete -e 'ssh -p 44' artifact owofannouncements@foxthesystem.space:~/server rsync -avzxh --delete -e 'ssh -p 44' artifact owofannouncements@foxthesystem.space:~
ssh -p 44 owofannouncements@foxthesystem.space "/bin/bash -c 'cd server ; yarn install --production=true'" ssh -p 44 owofannouncements@foxthesystem.space "/bin/bash -c 'cd server ; yarn install --production=true'"
env: env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}