otmp_site/deploy.sh
Awiteb 39f4b11c10
All checks were successful
Build site / Rust CI (push) Successful in 4s
chore: Create the deploy script
Signed-off-by: Awiteb <a@4rs.nl>
2024-06-03 11:46:34 +03:00

15 lines
285 B
Bash
Executable file

#! /usr/bin/env bash
zola build
cd public
git init .
git checkout -B gh-pages
touch .nojekyll
echo "otmp.4rs.nl" > CNAME
git add .
git commit -m "Deploy to GitHub Pages"
git remote add origin https://github.com/TheAwiteb/otmp_site.git
git push origin gh-pages -f
cd ..
rm -fr public