From e273b1d7f5fbf0700065548a90e601ba86f0166f Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Tue, 8 Aug 2023 21:17:39 -0500 Subject: [PATCH] ci: Set branch name https://github.com/cloudflare/pages-action/issues/97 --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9b76c5b2..617c950d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: gitHubToken: ${{ github.token }} # Optional: Switch what branch you are publishing to. # By default this will be the branch which triggered this workflow - # branch: main + branch: ${{ github.ref_name }} # Optional: Change the working directory # workingDirectory: my-site # Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta`