Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdleeAfif authored Apr 17, 2024
1 parent ae08ecb commit 7cf4348
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7cf4348

Please sign in to comment.