From bb380e7fe53446a8068619ddcab77c3e8120a05c Mon Sep 17 00:00:00 2001 From: Christopher Carroll Smith <75859865+chriscarrollsmith@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:36:39 -0400 Subject: [PATCH] debugging write of domain to CNAME --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 09ebe17..e52a38c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,15 +37,20 @@ jobs: run: | echo "DOMAIN=$(node -e 'console.log(new URL(require(\"./src/customizations/siteproperties.json\").url).hostname)')" >> $GITHUB_ENV + - name: Debug DOMAIN + run: echo "Debug DOMAIN=${{ env.DOMAIN }}" + - name: Add CNAME to dist run: | if [[ "${{ env.DOMAIN }}" != *.github.io ]]; then echo ${{ env.DOMAIN }} > ./dist/CNAME fi + - name: Debug CNAME + run: cat ./dist/CNAME + - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: folder: dist branch: gh-pages - single-commit: true