From 2d34ba601eed4c9f3f71d579415b5ef741f9255a Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Thu, 5 Dec 2024 22:24:22 -0500 Subject: [PATCH] update CD --- .forgejo/workflows/ansibleCD.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ansibleCD.yml b/.forgejo/workflows/ansibleCD.yml index 9e563d2..4cad152 100644 --- a/.forgejo/workflows/ansibleCD.yml +++ b/.forgejo/workflows/ansibleCD.yml @@ -94,7 +94,7 @@ jobs: - name: Run Ansible Playbook uses: docker://mafyuh/ansible-bws:v1.0.3 with: - args: ansible-playbook -i hosts.ini ./ansible/playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder" + args: ansible-playbook -i ansible/hosts.ini ./ansible/playbooks/deploy-docker.yml --extra-vars "target_host=${{ steps.detect-changes.outputs.target_host }} folder=${{ steps.detect-changes.outputs.folders }}" env: BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}