chore: Create the deploy script
All checks were successful
Build site / Rust CI (push) Successful in 4s

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-06-03 11:46:34 +03:00
parent a5ff165fc3
commit 39f4b11c10
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

15
deploy.sh Executable file
View file

@ -0,0 +1,15 @@
#! /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