From 39f4b11c1087c39ae8dd3ff01d6835631dffaa44 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Mon, 3 Jun 2024 11:46:34 +0300
Subject: [PATCH] chore: Create the deploy script
Signed-off-by: Awiteb
---
deploy.sh | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100755 deploy.sh
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..748bd28
--- /dev/null
+++ b/deploy.sh
@@ -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