We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9ffa2 commit aca0607Copy full SHA for aca0607
.github/workflows/build-and-deploy.yml
@@ -44,7 +44,8 @@ jobs:
44
npm install
45
46
# Add homepage for GitHub Pages
47
- homepage="https://$GITHUB_REPOSITORY_OWNER.github.io/$project"
+ repo_name="${GITHUB_REPOSITORY#*/}"
48
+ homepage="https://$GITHUB_REPOSITORY_OWNER.github.io/$repo_name/$project"
49
npx json -I -f package.json -e "this.homepage=\"$homepage\""
50
51
npm run build
0 commit comments