Skip to content

Commit

Permalink
Update deploy workflow to change inventory and set working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
leonmelein committed Dec 26, 2024
1 parent 3841738 commit 29e8ea5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ jobs:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Run playbook
run: ansible-playbook -i staging, .playbook/playbook.yml -u github-actions --inventory .playbook/inventory --extra-vars "repositoryPath=$GITHUB_WORKSPACE/dist"
run: |
cd $GITHUB_WORKSPACE
ansible-playbook -i 'beta.thesociallions.nl', .playbook/playbook.yml -u github-actions --extra-vars "repositoryPath=dist/"

0 comments on commit 29e8ea5

Please sign in to comment.