From 6ff9763a440169d74d49bd14be3a51a86cdd454b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 4 Mar 2023 00:58:54 +0100 Subject: [PATCH] ci: Redirect file at the root --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3c6596518..e5a96326c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -378,7 +378,7 @@ jobs: 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 + sed 's|URL|rtic/index.html|g' $root/redirect.html > $webroot/$ver/api/index.html popd for lang in ${langs[@]}; do @@ -387,7 +387,7 @@ jobs: 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 + sed 's|URL|book/en|g' $root/redirect.html > $webroot/$ver/index.html rm -rf $src done