Skip to content

Commit

Permalink
Deploying to gh-pages from @ d4d163a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
OlingCat committed Jun 2, 2024
1 parent 9fc0011 commit 3da0830
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/usr/bin/env bash
set -e

# Build
mdbook build
rm -rf out/.git

# 3. Deploy
rm -rf deploy
mkdir deploy
cd deploy
git init
cp -r ../out/./ .
git add -A
git commit -m "Update `date`"
git push https://github.com/leanprover/theorem_proving_in_lean4.git +HEAD:gh-pages
cd ..
rm -rf deploy
#!/usr/bin/env bash
set -e

# Build
mdbook build
rm -rf out/.git

# 3. Deploy
rm -rf deploy
mkdir deploy
cd deploy
git init
cp -r ../out/./ .
git add -A
git commit -m "Update `date`"
git push https://github.com/Lean-zh/tp-lean-zh.git +HEAD:gh-pages
cd ..
rm -rf deploy

0 comments on commit 3da0830

Please sign in to comment.