ci fix 0.0047
Some checks failed
Build Docker / deploy (push) Failing after 2s
Build Docker / build (push) Has been skipped

This commit is contained in:
2026-03-01 15:00:30 +03:00
parent f0a737a138
commit b7a67c70a2

View File

@@ -12,19 +12,14 @@ jobs:
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/id_rsa
chmod 600 /tmp/id_rsa
- name: Install Ansible collection
run: ansible-galaxy collection install community.docker
- name: Create inventory
run: echo "${{ secrets.INVENTORY }}" > inventory.ini
- name: Create secrets.yml
run: echo "${{ secrets.SECRETS }}" > secrets.yml
- name: Create .env file
run: echo "${{ secrets.WEDDING_SITE_ENV }}" > .env
- name: Run Ansible playbook
run: ansible-playbook -i inventory.ini deploy.yml -e @secrets.yml
env: