Skip to content

Commit

Permalink
attempt to fix ansible in action
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsender committed Mar 30, 2024
1 parent 33ea62e commit 4ce3a43
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ jobs:
name: 🚀 Deploy
runs-on: ubuntu-latest
# needs: [lint, typecheck, vitest, cypress]

# only deploy main/dev branch on pushes
if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && github.event_name == 'push' }}

steps:
Expand All @@ -128,7 +126,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: .../../deploy/deploy.yml
playbook: deploy/deploy.yml
key: ${{secrets.SSH_PRIVATE_KEY}}
# Optional, literal inventory file contents
inventory: ${{ secrets.inventory }}

0 comments on commit 4ce3a43

Please sign in to comment.