From bb2d45d0aa930245188c17f7695663e4f3becbb3 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 23 Feb 2021 08:14:41 -0800 Subject: [PATCH] ci: html subdir disappears from mdbook build when disabling linkcheck refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53 --- .github/workflows/pages.yml | 2 +- ci/build-docs.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 126c14009..3f7cd5706 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -44,7 +44,7 @@ jobs: uses: crazy-max/ghaction-github-pages@v2 with: target_branch: gh-pages - build_dir: gh_pages/html + build_dir: gh_pages keep_history: true allow_empty_commit: false env: diff --git a/ci/build-docs.sh b/ci/build-docs.sh index 52b959926..9e0f291e4 100755 --- a/ci/build-docs.sh +++ b/ci/build-docs.sh @@ -5,5 +5,5 @@ python3 ci/subst-release-info.py || exit 1 python3 ci/generate-docs.py || exit 1 mdbook build docs -cp assets/icon/terminal.png gh_pages/html/favicon.png -cp assets/icon/wezterm-icon.svg gh_pages/html/favicon.svg +cp assets/icon/terminal.png gh_pages/favicon.png +cp assets/icon/wezterm-icon.svg gh_pages/favicon.svg