16 lines
285 B
Bash
16 lines
285 B
Bash
|
#! /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
|