diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9e0e1bc..42eb0fa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: @@ -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 }}