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
publish-tag:
if: ${{ github.repository == 'jackyzha0/quartz' }}
if: ${{ github.repository == 'jackyzha0/quartz' && github.ref == 'refs/heads/v4' }}
runs-on: ubuntu-latest
permissions:
contents: write