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 }}