From c53fd5b56fb5a4a09df0a6dc8ff115b510f25d25 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 24 Feb 2024 03:04:38 +0000
Subject: [PATCH] ci: tag as a separate step
---
.github/workflows/ci.yaml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 1037f5e..edd52b9 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -46,6 +46,12 @@
- name: Ensure Quartz builds, check bundle info
run: npx quartz build --bundleInfo
+ publish-tag:
+ if: ${{ github.repository == 'jackyzha0/quartz' }}
+ run-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
--
Gitblit v1.10.0