feat: add missing step to add OrangePi to known_hosts in deployment workflow
Test / backend (push) Successful in 14s
Test / frontend (push) Successful in 24s
Release Pipeline / build-and-release (push) Successful in 5m21s

This commit is contained in:
LaurensBartelds committed 2026-04-27 20:41:30 +02:00
1 parent 95cf0db5a4
commit f40f4508fd
1 file changed
+7 -1
+7 -1
View File
@@ -1,4 +1,4 @@
name: Deploy ARM to OrangePi
name: Deploy ARM to OrangePi
on:
workflow_run:
@@ -26,6 +26,12 @@ jobs:
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> "$GITHUB_ENV"
echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> "$GITHUB_ENV"
- name: Add OrangePi to known_hosts
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan -H "${{ secrets.ANSIBLE_HOST }}" >> ~/.ssh/known_hosts
- name: Write Inventory
run: |
printf '[orangepi]\norangepi ansible_host=%s ansible_user=%s\n' \