From 6bae7cdab00dd902ecafb3ae44055ed5b1c86179 Mon Sep 17 00:00:00 2001 From: baka-gourd <36119339+baka-gourd@users.noreply.github.com> Date: Wed, 24 Jul 2024 01:01:23 +0800 Subject: [PATCH] feat: ensure only update release page at `main` --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 93e2050..a7cc101 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,7 @@ -on: [push] +on: + push: + branches: + - main jobs: publish: @@ -46,4 +49,4 @@ jobs: # Optional: Change the working directory workingDirectory: ./ # Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta` - wranglerVersion: '3' \ No newline at end of file + wranglerVersion: '3'