From 21e75acc8d292c98a201e539d6f8ce4bd2941077 Mon Sep 17 00:00:00 2001
From: Seohyun Kim <153896425+1etterh@users.noreply.github.com>
Date: Mon, 01 Jul 2024 03:59:08 +0000
Subject: [PATCH] fix: "draft" true or false in frontmatter still removes from publishing #1244 (#1249)
---
.github/workflows/ci.yaml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 56107cf..5dde6ac 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -7,6 +7,7 @@
push:
branches:
- v4
+ workflow_dispatch:
jobs:
build-and-test:
@@ -47,7 +48,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