aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-10-05 10:07:43 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-10-05 10:07:43 +0000
commit3fed6a944e73e1a077d218f77c0957cfdd508688 (patch)
treeb8be1163d41aa69df6184ae96e887cfd160ba0da
parent4eb4c4e7b21402de7294670116da77475f48e0a2 (diff)
downloadrtic-3fed6a944e73e1a077d218f77c0957cfdd508688.tar.gz
rtic-3fed6a944e73e1a077d218f77c0957cfdd508688.tar.zst
rtic-3fed6a944e73e1a077d218f77c0957cfdd508688.zip
Use a full copy of the book instead of symlink
-rw-r--r--.github/workflows/build.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 56183c3a..b6aed4e7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -586,6 +586,8 @@ jobs:
stable=$(git tag | grep "^v" | grep -v "-" | tail -n 1 | cut -c2-4)
vers=( 0.5.x 0.4.x )
+ echo "Stable version: $stable"
+
# Create directories
td=$(mktemp -d)
mkdir -p $td/$devver/book/
@@ -630,8 +632,8 @@ jobs:
rm -rf $src
done
- # Create alias for the stable release
- ln -s $stable $td/stable
+ # Copy the stable book to the stable alias
+ cp -r $td/$stable $td/stable
# Forward CNAME file
cp CNAME $td/