Skip to content

Commit d23b1a1

Browse files
fix workflow
1 parent a75be1f commit d23b1a1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ansible-deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ jobs:
3939
needs: lint
4040
runs-on: self-hosted
4141
steps:
42-
- uses: actions/checkout@v4
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
- name: Install Ansible
45+
run: |
46+
sudo apt update
47+
sudo apt install -y ansible
4348
- name: Deploy with Ansible
4449
run: |
4550
cd ansible
46-
echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > /tmp/vault_pass
4751
ansible-playbook playbooks/deploy.yml \
48-
--vault-password-file /tmp/vault_pass \
4952
--tags "app_deploy"
50-
rm /tmp/vault_pass
5153
- name: Verify Deployment
5254
run: |
5355
sleep 10 # Wait for app to start

0 commit comments

Comments
 (0)