feat: update deploy workflow to enhance SSH key handling and add git status checks

This commit is contained in:
LaurensBartelds committed 2026-04-24 22:30:38 +02:00
1 parent aeed804460
commit 10ce58fdfe
2 files changed
+8 -2

No files matched your search

+2 -1
View File
@@ -20,8 +20,9 @@ jobs:
- name: Write SSH Key
run: |
echo "${{ secrets.ANSIBLE_SSH_KEY }}" | base64 -d > /tmp/ansible_key
printf '%s' "${{ secrets.ANSIBLE_SSH_KEY }}" | tr -d '\r\n' | base64 -d > /tmp/ansible_key
chmod 600 /tmp/ansible_key
ssh-keygen -l -f /tmp/ansible_key
- name: Write Inventory
# StrictHostKeyChecking=no is intentional for a known home-network host.