From ef771f221dc03e0557fc4037afe3a52916cfff44 Mon Sep 17 00:00:00 2001 From: Brandon Brown Date: Fri, 8 Mar 2024 21:28:58 -0800 Subject: [PATCH] Correct variable reference --- .github/workflows/build-and-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ad93c24..e538b21 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -51,7 +51,7 @@ jobs: with: webhook: ${{ secrets.DISCORD_WEBHOOK }} title: "deploy" - description: "Successfully deployed brandonb.ca `${{ github.sha }}`\nSee [build log](${{ BUILD_URL }})" + description: "Successfully deployed brandonb.ca `${{ github.sha }}`\nSee [build log](${{ env.BUILD_URL }})" color: 0x28a745 env: BUILD_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" @@ -61,7 +61,7 @@ jobs: with: webhook: ${{ secrets.DISCORD_WEBHOOK }} title: "deploy" - description: "Failed to deploy brandonb.ca `${{ github.sha }}`\nSee [build log](${{ BUILD_URL }})" + description: "Failed to deploy brandonb.ca `${{ github.sha }}`\nSee [build log](${{ env.BUILD_URL }})" color: 0xdc3545 env: BUILD_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"