Skip to content

Commit ce7d31f

Browse files
committedDec 7, 2024
fix cd
1 parent f368b2a commit ce7d31f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎.forgejo/workflows/ansibleCD.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,10 @@ jobs:
151151
152152
153153
- name: Run Ansible Playbook
154-
uses: docker://mafyuh/ansible-bws:v1.0.5
155-
with:
156-
args: ansible-playbook -i ansible/hosts.ini ./ansible/playbooks/deploy-docker.yml --extra-vars "target_host=${{ env.target_host }} folder=${{ env.folder }}"
157154
env:
158155
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
159156
ANSIBLE_CONFIG: ansible/ansible.cfg
157+
run: |
158+
ansible-playbook -i ansible/hosts.ini ./ansible/playbooks/deploy-docker.yml \
159+
--extra-vars "target_host=${{ env.target_host }} folder=${{ env.folder }}"
160+

0 commit comments

Comments
 (0)
Please sign in to comment.