diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 53d21fe1..7370aca5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,9 +14,6 @@ jobs: build-prod: name: Build for prod env runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' - needs: - - test-backend steps: - name: Checkout code uses: actions/checkout@v4 @@ -56,7 +53,6 @@ jobs: name: Deploy to production needs: build-prod runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' steps: - uses: chrnorm/deployment-action@releases/v1 name: Create GitHub deployment