ssh fix?
Some checks failed
Update Compose File / build (push) Failing after 1s

This commit is contained in:
2025-11-26 14:44:02 -08:00
parent 12df37ec4b
commit 683392b5b1

View File

@@ -8,7 +8,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- run: apt update && apt install sshpass -y
- name: Generate SSH Key
run: |
mkdir -p ~/.ssh/
echo ${{ $SSH_PRIVATE_KEY }} > private.key
sudo chmod 600 private.key
echo ${{ SSH_KNOWN_HOSTS }} > ~/.ssh/known_hosts
shell: bash
- name: Update Compose
run: |
ssh craisin@minicraisin touch hello
ssh craisin@minicraisin cd config && git pull && docker compose up -d --remove-orphans