From 18ebff5de3098883c7fab6d05614b468067a6b2d Mon Sep 17 00:00:00 2001 From: Van Nguyen <36019388+nguyentvan7@users.noreply.github.com> Date: Wed, 20 Dec 2023 10:18:55 -0700 Subject: [PATCH] Fix logging --- .github/workflows/deploy-frontend.yml | 2 +- .github/workflows/deploy-go-pando-pr.yml | 2 +- .github/workflows/deploy-go-wr-pr.yml | 2 +- .github/workflows/deploy-sro-pr.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-frontend.yml b/.github/workflows/deploy-frontend.yml index 07429720b8..7bc35c733a 100644 --- a/.github/workflows/deploy-frontend.yml +++ b/.github/workflows/deploy-frontend.yml @@ -80,7 +80,7 @@ jobs: uses: actions-cool/maintain-one-comment@v3 with: body: | - [${{ inputs.frontend_name }}] [${{ steps.output-date.outputs.date }}] - Building version ${{ inputs.ref }} + [${{ inputs.frontend_name }}] [${{ steps.output-date.outputs.date }}] - Building version $(git rev-parse HEAD) body-include: '' update-mode: 'append' - name: Build genshin-optimizer (Webpack) diff --git a/.github/workflows/deploy-go-pando-pr.yml b/.github/workflows/deploy-go-pando-pr.yml index 461a633a9d..faf62ec3ad 100644 --- a/.github/workflows/deploy-go-pando-pr.yml +++ b/.github/workflows/deploy-go-pando-pr.yml @@ -31,7 +31,7 @@ jobs: with: frontend_name: 'gi-frontend' repo_full_name: ${{ github.event.pull_request.head.repo.full_name }} - ref: ${{ github.event.pull_request.merge_commit_sha }} + ref: '' deployment_name: ${{ github.event.number }} pr_repo: ${{ vars.PR_REPO }} show_dev_components: ${{ contains(github.event.pull_request.labels.*.name, 'showDevComponents') }} diff --git a/.github/workflows/deploy-go-wr-pr.yml b/.github/workflows/deploy-go-wr-pr.yml index e7a9723f92..d235fb1047 100644 --- a/.github/workflows/deploy-go-wr-pr.yml +++ b/.github/workflows/deploy-go-wr-pr.yml @@ -33,7 +33,7 @@ jobs: with: frontend_name: 'frontend' repo_full_name: ${{ github.event.pull_request.head.repo.full_name }} - ref: ${{ github.event.pull_request.merge_commit_sha }} + ref: '' deployment_name: ${{ github.event.number }} pr_repo: ${{ vars.PR_REPO }} show_dev_components: ${{ contains(github.event.pull_request.labels.*.name, 'showDevComponents') }} diff --git a/.github/workflows/deploy-sro-pr.yml b/.github/workflows/deploy-sro-pr.yml index 617b2d09e5..15981d0c66 100644 --- a/.github/workflows/deploy-sro-pr.yml +++ b/.github/workflows/deploy-sro-pr.yml @@ -39,7 +39,7 @@ jobs: with: frontend_name: 'sr-frontend' repo_full_name: ${{ github.event.pull_request.head.repo.full_name }} - ref: ${{ github.event.pull_request.merge_commit_sha }} + ref: '' deployment_name: ${{ github.event.number }} pr_repo: ${{ vars.PR_REPO }} show_dev_components: ${{ contains(github.event.pull_request.labels.*.name, 'showDevComponents') }}