diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index 77e03955a..f5d15942b 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: startsWith(gitea.ref, 'refs/tags/v') || (github.event_name == 'push' && github.ref_name == 'main') + if: startsWith(github.ref_name, 'v') || (github.event_name == 'push' && github.ref_name == 'main') strategy: fail-fast: false matrix: @@ -1612,7 +1612,7 @@ jobs: concurrency: group: deploy-production-${{ gitea.ref }} cancel-in-progress: false - if: startsWith(gitea.ref, 'refs/tags/v') + if: startsWith(github.ref_name, 'v') needs: - build-production steps: @@ -1744,7 +1744,7 @@ jobs: name: Production Browser E2E runs-on: runtime-builder timeout-minutes: 15 - if: startsWith(gitea.ref, 'refs/tags/v') + if: startsWith(github.ref_name, 'v') needs: deploy-production steps: - name: Checkout code