diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e2af7688..a15ab627 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 87bef498..f3409c56 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -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',