asdf
Some checks failed
CI/CD Pipeline / lint (push) Failing after 18s
CI/CD Pipeline / deploy (push) Failing after 41s

This commit is contained in:
sotos
2025-12-17 09:00:00 +01:00
parent 2618ea8ec3
commit f28f43bdab

View File

@@ -40,10 +40,13 @@ jobs:
pip3 install ansible
- name: Setup SSH
shell: bash
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
run: |
set -euo pipefail
mkdir -p ~/.ssh
chmod 700 ~/.ssh
@@ -57,6 +60,8 @@ jobs:
ssh -o BatchMode=yes root@213.95.90.157 "echo SSH OK"
- name: Run Ansible
run: |
ansible-playbook -i ansible/inventory.yaml site.yaml