Skip to content

Commit dbcc6fd

Browse files
committed
WIP: Update deploy.sh script
This now no longer uses the python script to generate the documentation, but uses the output of the monster.
1 parent 05c0604 commit dbcc6fd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/deploy.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ rm -rf out/master/ || exit 0
88
echo "Making the docs for master"
99
mkdir out/master/
1010
cp util/gh-pages/index.html out/master
11-
python3 ./util/export.py out/master/lints.json
1211

1312
if [[ -n $TAG_NAME ]]; then
1413
echo "Save the doc for the current tag ($TAG_NAME) and point stable/ to it"
15-
cp -r out/master "out/$TAG_NAME"
16-
rm -f out/stable
17-
ln -s "$TAG_NAME" out/stable
14+
cp -Tr out/master "out/$TAG_NAME"
15+
ln -sf "$TAG_NAME" out/stable
1816
fi
1917

2018
if [[ $BETA = "true" ]]; then
@@ -28,8 +26,8 @@ cp util/gh-pages/versions.html out/index.html
2826
echo "Making the versions.json file"
2927
python3 ./util/versions.py out
3028

31-
cd out
3229
# Now let's go have some fun with the cloned repo
30+
cd out
3331
git config user.name "GHA CI"
3432
git config user.email "[email protected]"
3533

0 commit comments

Comments
 (0)