From 314c525adaf6d565e95f401b0a4352f760d562f2 Mon Sep 17 00:00:00 2001 From: Joe Rogers <1337joe@gmail.com> Date: Tue, 14 Jan 2025 13:41:38 -0500 Subject: [PATCH] Update parameter names to match action update --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0e45c17..8fdcc1d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 if: github.event_name == 'pull_request_target' with: - GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }} + github-token: ${{ secrets.JF_BOT_TOKEN }} message: | ## Cloudflare Pages deployment @@ -76,8 +76,8 @@ jobs: | **Status** | 🔄 Deploying... | | **Preview URL** | Not available | | **Type** | 🔀 Preview | - pr_number: ${{ github.event.pull_request.number }} - comment_tag: CFPages-deployment + pr-number: ${{ github.event.pull_request.number }} + comment-tag: CFPages-deployment mode: recreate - name: Download workflow artifact uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 @@ -99,7 +99,7 @@ jobs: if: ${{ github.event_name == 'pull_request_target' && success() }} uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: - GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }} + github-token: ${{ secrets.JF_BOT_TOKEN }} message: | ## Cloudflare Pages deployment @@ -108,14 +108,14 @@ jobs: | **Status** | ✅ Deployed! | | **Preview URL** | ${{ steps.cf.outputs.deployment-url != '' && steps.cf.outputs.deployment-url || 'Not available' }} | | **Type** | 🔀 Preview | - pr_number: ${{ github.event.pull_request.number }} - comment_tag: CFPages-deployment + pr-number: ${{ github.event.pull_request.number }} + comment-tag: CFPages-deployment mode: recreate - name: Update status comment (Failure) if: ${{ github.event_name == 'pull_request_target' && failure() }} uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: - GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }} + github-token: ${{ secrets.JF_BOT_TOKEN }} message: | ## Cloudflare Pages deployment @@ -124,6 +124,6 @@ jobs: | **Status** | ❌ Failure. Check workflow logs for details | | **Preview URL** | Not available | | **Type** | 🔀 Preview | - pr_number: ${{ github.event.pull_request.number }} - comment_tag: CFPages-deployment + pr-number: ${{ github.event.pull_request.number }} + comment-tag: CFPages-deployment mode: recreate