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

+6 -1
View File
@@ -28,7 +28,12 @@
"Read(//c/Users/laure/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.7/skills/brainstorming/**)",
"Read(//c/Users/laure/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.7/**)",
"Read(//c/Users/laure/.claude/plugins/cache/claude-plugins-official/superpowers/**)",
"Bash(bash \"C:/Users/laure/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.7/skills/brainstorming/scripts/start-server.sh\" --project-dir \"c:/Users/laure/Documents/Gitea/brainwave\")"
"Bash(bash \"C:/Users/laure/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.7/skills/brainstorming/scripts/start-server.sh\" --project-dir \"c:/Users/laure/Documents/Gitea/brainwave\")",
"Bash(git -C \"c:/Users/laure/Documents/Gitea/brainwave\" status --short)",
"Bash(git -C \"c:/Users/laure/Documents/Gitea/brainwave\" diff .gitea/workflows/deploy.yml)",
"Bash(git -C \"c:/Users/laure/Documents/Gitea/brainwave\" diff HEAD -- .gitea/workflows/deploy.yml)",
"Bash(git -C \"c:/Users/laure/Documents/Gitea/brainwave\" log --oneline -3 -- .gitea/workflows/deploy.yml)",
"Bash(git -C \"c:/Users/laure/Documents/Gitea/brainwave\" log --oneline origin/main..HEAD)"
]
}
}
+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.