Skip to content

Commit

Permalink
Deploy using ansible role instead of playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
Tina-otoge committed Apr 11, 2024
1 parent b7cd19b commit cf8d739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
env:
ANSIBLE_HOST_KEY_CHECKING: false
run: |
ansible-playbook -l ${{ secrets.DEPLOY_HOST }} playbooks/deploy/mechadon.yml -e "deploy_version=${{ github.sha }}" -e "deploy_user=${{ secrets.DEPLOY_USER }}" -u ${{ secrets.DEPLOY_LOGIN_USER }}
ansible ${{ secrets.DEPLOY_HOST }} -m include_role -a name=deploy -e "deploy_version=${{ github.sha }}" -e deploy_app=MechaDon2 -e deploy_service=mechadon -u ${{ secrets.DEPLOY_LOGIN_USER }} --become-user ${{ secrets.DEPLOY_USER }}

0 comments on commit cf8d739

Please sign in to comment.