From c3d2b01ccc43d68396831be128586b00eb2c83eb Mon Sep 17 00:00:00 2001 From: claustra01 Date: Sat, 10 Aug 2024 02:22:55 +0900 Subject: [PATCH] fix: publish branch --- .github/workflows/pr-visualizer.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-visualizer.yml b/.github/workflows/pr-visualizer.yml index 6759aee..52c0e42 100644 --- a/.github/workflows/pr-visualizer.yml +++ b/.github/workflows/pr-visualizer.yml @@ -24,6 +24,7 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist/visualizer + publish_branch: ${{ github.head_ref }} - name: Find existing comment uses: peter-evans/find-comment@v2 @@ -32,7 +33,7 @@ jobs: issue-number: ${{ github.event.number }} format: 'json' - - name: Create or update comment + - name: Create comment uses: peter-evans/create-or-update-comment@v2 if: success() && github.event.number && steps.fc.outputs.comment-id == '0' with: