fix(ci): only publish tag on v4 origin

This commit is contained in:
Jacky Zhao 2024-06-17 21:45:58 -07:00
parent 265faef4e8
commit cc5913b75c

View File

@ -47,7 +47,7 @@ jobs:
run: npx quartz build --bundleInfo run: npx quartz build --bundleInfo
publish-tag: publish-tag:
if: ${{ github.repository == 'jackyzha0/quartz' }} if: ${{ github.repository == 'jackyzha0/quartz' && github.ref == 'refs/heads/v4' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write