diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index ec7230ee8..04902aef0 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -1462,7 +1462,7 @@ jobs: - unit-tests - frontend-lint - frontend-unit-test - if: github.event_name == 'push' && !failure() && !cancelled() + if: github.event_name == 'push' && github.ref_name == 'main' && !failure() && !cancelled() strategy: fail-fast: false matrix: @@ -1608,7 +1608,7 @@ jobs: concurrency: group: deploy-production-${{ gitea.ref }} cancel-in-progress: false - # if: removed - runs after build-production succeeds + if: github.event_name == 'push' && github.ref_name == 'main' needs: - build-production steps: