mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Use a full copy of the book instead of symlink
This commit is contained in:
parent
4eb4c4e7b2
commit
3fed6a944e
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -586,6 +586,8 @@ jobs:
|
||||||
stable=$(git tag | grep "^v" | grep -v "-" | tail -n 1 | cut -c2-4)
|
stable=$(git tag | grep "^v" | grep -v "-" | tail -n 1 | cut -c2-4)
|
||||||
vers=( 0.5.x 0.4.x )
|
vers=( 0.5.x 0.4.x )
|
||||||
|
|
||||||
|
echo "Stable version: $stable"
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
td=$(mktemp -d)
|
td=$(mktemp -d)
|
||||||
mkdir -p $td/$devver/book/
|
mkdir -p $td/$devver/book/
|
||||||
|
@ -630,8 +632,8 @@ jobs:
|
||||||
rm -rf $src
|
rm -rf $src
|
||||||
done
|
done
|
||||||
|
|
||||||
# Create alias for the stable release
|
# Copy the stable book to the stable alias
|
||||||
ln -s $stable $td/stable
|
cp -r $td/$stable $td/stable
|
||||||
|
|
||||||
# Forward CNAME file
|
# Forward CNAME file
|
||||||
cp CNAME $td/
|
cp CNAME $td/
|
||||||
|
|
Loading…
Reference in a new issue