From cc5913b75c437d77760e2334e0707463176e9012 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 18 Jun 2024 04:45:58 +0000
Subject: [PATCH] fix(ci): only publish tag on v4 origin
---
.github/workflows/ci.yaml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 56107cf..7b70c3f 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -47,7 +47,7 @@
run: npx quartz build --bundleInfo
publish-tag:
- if: ${{ github.repository == 'jackyzha0/quartz' }}
+ if: ${{ github.repository == 'jackyzha0/quartz' && github.ref == 'refs/heads/v4' }}
runs-on: ubuntu-latest
permissions:
contents: write
--
Gitblit v1.10.0