Files
luet/docs/scripts/publish.sh
Ettore Di Giacinto 23e1c307b9 📓 Add docs alongside
2022-01-30 21:57:41 +01:00

15 lines
166 B
Bash
Executable File

#!/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/