Update .gitea/workflows/deploy.yml
Some checks failed
Deploy (stellaamor) / deploy (push) Has been cancelled

This commit is contained in:
2025-10-08 04:55:58 -04:00
parent 6a3608fe1f
commit 899bc2be76

View File

@@ -61,19 +61,15 @@ jobs:
mv "$OUT" "release/${REL}.tar.gz" mv "$OUT" "release/${REL}.tar.gz"
- name: Write SSH key - name: Use host SSH key
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
chmod 700 ~/.ssh chmod 700 ~/.ssh
umask 077 # Symlink to the hosts deploy key (already readable by the runner)
printf "%s" "${SSH_KEY}" > ~/.ssh/id_ed25519 ln -sf /home/gitea-runner/.ssh/deploy_stellaamor ~/.ssh/id_ed25519
echo "StrictHostKeyChecking no" >> ~/.ssh/config
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
if [ -n "${SSH_KNOWN_HOSTS}" ]; then
printf "%s\n" "${SSH_KNOWN_HOSTS}" > ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
else
echo "StrictHostKeyChecking no" >> ~/.ssh/config
fi
- name: Upload & activate atomically - name: Upload & activate atomically