diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c6c59be..242ce95 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -113,7 +113,7 @@ jobs: channelId: staging deploy-production: - if: github.ref == 'refs/heads/main' + if: ${{ github.event.pull_request.merged == true }} needs: [lint-js] name: Deploy Production runs-on: ubuntu-latest