luet/docs/scripts/publish.sh

15 lines
166 B
Bash
Raw Normal View History

2022-01-30 18:44:45 +00:00
#!/bin/bash
set -e
"${ROOT_DIR}"/scripts/build.sh
git branch -D gh-pages || true
git checkout --orphan gh-pages
git rm -rf .
cp -rfv public/* ./
rm -rf public/