chore: Create the deploy script
All checks were successful
Build site / Rust CI (push) Successful in 4s
All checks were successful
Build site / Rust CI (push) Successful in 4s
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
a5ff165fc3
commit
39f4b11c10
1 changed files with 15 additions and 0 deletions
15
deploy.sh
Executable file
15
deploy.sh
Executable 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
|
Loading…
Reference in a new issue