From b249bf0b4ee2b1b0ccbd289d6c09aa2e46c32432 Mon Sep 17 00:00:00 2001 From: Christopher Carroll Smith <75859865+chriscarrollsmith@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:07:52 -0400 Subject: [PATCH] Used new GITHUB_OUTPUT file --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a94f6ef..67cdafd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,15 +35,15 @@ jobs: - name: Set the domain id: set-domain run: | - echo "DOMAIN=$(node -e 'console.log(new URL(require("./src/customizations/siteproperties.json").url).hostname)')" >> $GITHUB_ENV + echo "DOMAIN=$(node -e 'console.log(new URL(require("./src/customizations/siteproperties.json").url).hostname)')" >> $GITHUB_OUTPUT - name: Debug DOMAIN - run: echo "Debug DOMAIN=${{ env.DOMAIN }}" + run: echo "Debug DOMAIN=${{ steps.set-domain.outputs.DOMAIN }}" - name: Add CNAME to dist run: | - if [[ "${{ env.DOMAIN }}" != *.github.io ]]; then - echo ${{ env.DOMAIN }} > ./dist/CNAME + if [[ "${{ steps.set-domain.outputs.DOMAIN }}" != *.github.io ]]; then + echo ${{ steps.set-domain.outputs.DOMAIN }} > ./dist/CNAME fi - name: Debug CNAME