Before Deploy - nogic1008/nuxt-ts-template GitHub Wiki
Before Deploy
This project is designed to automatically deploy to GitHub Pages, so base path is set /${repositoryName}/
.
If you want to deploy to other like /
or /app/
, you have to change it.
How to change Base Path
Fix Build step command to use your base path.
- name: Build
run: BASE_PATH=/app/ npm run generate
or remove BASE_PATH
if you use /
path
- name: Build
run: npm run generate