CI fix tentative #20
Some checks failed
Build and deploy all / build (test.json, /var/www/crashtest, test) (push) Successful in 42s
Build and deploy all / deploy (test.json, /var/www/crashtest, test) (push) Failing after 10s
Build and deploy all / notify (push) Successful in 1s

This commit is contained in:
Gu://em_ 2026-03-30 23:13:28 +02:00
parent 30d438e0cb
commit 4054aeef61

View file

@ -92,10 +92,13 @@ jobs:
- name: Setup SSH
env:
SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
TEST_VAL: ${{ secrets.TEST_VALUE }}
run: |
echo "Debugging YAML vars: ${{ secrets.TEST_VALUE }}"
echo "Debugging ENV vars: $TEST_VAL"
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
- name: Download Artifact
@ -106,7 +109,9 @@ jobs:
- name: Push
run: |
rsync -avz -e "ssh -p ${{ secrets.SERVER_PORT }}" --delete ./dist/ ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:${{ matrix.dest }}
rsync -avz -e "ssh -p ${{ secrets.SERVER_PORT }} -o StrictHostKeyChecking=no" \
--delete ./dist/ \
${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:${{ matrix.dest }}
notify:
needs: deploy