From 7cf4348b1f19abd64cac8253f7cf2afff06861de Mon Sep 17 00:00:00 2001 From: Adlee Afif <91206203+AdleeAfif@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:08:11 +0800 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 79964f5..54eafd4 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,7 +31,10 @@ jobs: git remote set-url origin https://${{ secrets.MY_TOKEN }}@github.com/AdleeAfif/portfolio-app.git - run: npm i + - name: Set public URL + run: | + echo "PUBLIC_URL=https://nikadlee.dev" >> $GITHUB_OUTPUT - run: npm run build --if-present - name: Create CNAME file - run: echo "nikadlee.dev" > ./build/CNAME # Replace with your custom domain + run: echo "nikadlee.dev" > ./build/CNAME - run: npm run deploy