Skip to content

Commit

Permalink
remove symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Oct 10, 2023
1 parent a6deee2 commit 8fa7f65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/deploy-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ echo "🌎 Building website..."
pushd ../docs

# create docs/latest copy (skip symlink)
rm -rf docs/latest # remove symlink
# create copy of current 'latest' state
cp -r docs docs-latest
# checkout old state for docs/
git fetch origin stable-docs --depth 1
git checkout origin/stable-docs docs
rm -rf docs/latest # remove symlink
# move latest docs back in
rm -rf docs/latest
mv docs-latest docs/latest
# build docs

Expand Down

0 comments on commit 8fa7f65

Please sign in to comment.