CI fix tentative #21
All checks were successful
Build and deploy all / build (test.json, /var/www/crashtest, test) (push) Successful in 41s
Build and deploy all / deploy (test.json, /var/www/crashtest, test) (push) Successful in 12s
Build and deploy all / notify (push) Successful in 2s

This commit is contained in:
Gu://em_ 2026-03-30 23:26:16 +02:00
parent 4054aeef61
commit 4f09d1c7fb

View file

@ -90,16 +90,16 @@ jobs:
fi
- 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_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
uses: https://github.com/webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
# env:
# SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
# run: |
# mkdir -p ~/.ssh
# 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
uses: actions/download-artifact@v3