diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 80b0466..2391c1f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -58,7 +58,8 @@ jobs: name: Deploy to Dev runs-on: ubuntu-latest needs: lint-and-test - if: github.event_name == 'push' + if: (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/WorkflowCI/CDsemanticversioning') && github.event_name == 'push' + steps: - uses: actions/checkout@v3 - name: Setup AWS Credentials