From 8e562c77c3fd15aec655ccb63cc0efeadd1b2e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 4 Mar 2023 00:52:24 +0100 Subject: [PATCH] ci: mkbookold: Make sure paths exists for the books --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee0fad1ce6..9ed4cf724e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -376,6 +376,7 @@ jobs: pushd $src rm -f .cargo/config cargo doc || cargo doc --features timer-queue + mkdir -p $webroot/$ver/book cp -r target/doc $webroot/$ver/api sed 's|URL|rtic/index.html|g' $webroot/redirect.html > $webroot/$ver/api/index.html popd @@ -383,7 +384,7 @@ jobs: for lang in ${langs[@]}; do cargo xtask book build $src/book/$lang - cp -r book/$lang/$book $webroot/$ver/book/$lang + cp -r $src/book/$lang/book $webroot/$ver/book/$lang cp LICENSE-* $webroot/$ver/book/$lang/ done sed 's|URL|book/en|g' $webroot/redirect.html > $webroot/$ver/index.html