mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-29 05:02:52 +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"
|
||||
cd website
|
||||
if [ -e yarn.lock ]; then
|
||||
yarn install --frozen-lockfile
|
||||
yarn install --frozen-lockfile
|
||||
elif [ -e package-lock.json ]; then
|
||||
npm ci
|
||||
npm ci
|
||||
else
|
||||
npm i
|
||||
npm i
|
||||
fi
|
||||
npm run deploy
|
||||
|
@ -3,6 +3,7 @@ module.exports = {
|
||||
tagline: 'Curated interview preparation materials for busy engineers',
|
||||
url: 'https://techinterviewhandbook.org',
|
||||
baseUrl: '/',
|
||||
trailingSlash: true,
|
||||
favicon: 'img/favicon.png',
|
||||
organizationName: 'yangshun',
|
||||
projectName: 'tech-interview-handbook',
|
||||
|
Reference in New Issue
Block a user