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