aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2023-03-04 00:58:54 +0100
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2023-03-04 00:58:54 +0100
commit6ff9763a440169d74d49bd14be3a51a86cdd454b (patch)
treea63140cf5229d4d601551a98e02fe2bbcc7a848f
parent1084b5a3badd1efc99dc601a0fdbd78e45951e86 (diff)
downloadrtic-6ff9763a440169d74d49bd14be3a51a86cdd454b.tar.gz
rtic-6ff9763a440169d74d49bd14be3a51a86cdd454b.tar.zst
rtic-6ff9763a440169d74d49bd14be3a51a86cdd454b.zip
ci: Redirect file at the root
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b3c65965..e5a96326 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