mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-29 13:13:54 +08:00
website: add trailing slash config
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -46,10 +46,10 @@ jobs:
|
|||||||
git config --global user.name "gh-actions"
|
git config --global user.name "gh-actions"
|
||||||
cd website
|
cd website
|
||||||
if [ -e yarn.lock ]; then
|
if [ -e yarn.lock ]; then
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
elif [ -e package-lock.json ]; then
|
elif [ -e package-lock.json ]; then
|
||||||
npm ci
|
npm ci
|
||||||
else
|
else
|
||||||
npm i
|
npm i
|
||||||
fi
|
fi
|
||||||
npm run deploy
|
npm run deploy
|
||||||
|
@ -3,6 +3,7 @@ module.exports = {
|
|||||||
tagline: 'Curated interview preparation materials for busy engineers',
|
tagline: 'Curated interview preparation materials for busy engineers',
|
||||||
url: 'https://techinterviewhandbook.org',
|
url: 'https://techinterviewhandbook.org',
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
|
trailingSlash: true,
|
||||||
favicon: 'img/favicon.png',
|
favicon: 'img/favicon.png',
|
||||||
organizationName: 'yangshun',
|
organizationName: 'yangshun',
|
||||||
projectName: 'tech-interview-handbook',
|
projectName: 'tech-interview-handbook',
|
||||||
|
Reference in New Issue
Block a user