summaryrefslogtreecommitdiff
path: root/_tools/envs_post-receive
diff options
context:
space:
mode:
Diffstat (limited to '_tools/envs_post-receive')
-rw-r--r--_tools/envs_post-receive6
1 files changed, 4 insertions, 2 deletions
diff --git a/_tools/envs_post-receive b/_tools/envs_post-receive
index 6212158..fa0f7c6 100644
--- a/_tools/envs_post-receive
+++ b/_tools/envs_post-receive
@@ -6,16 +6,18 @@ cd blog
mkdir Mabbs
curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md
bundle exec jekyll build -d ../public_html
-tar czvf MayxBlog.tgz --exclude-vcs ../public_html/
-mv MayxBlog.tgz ../public_html/
+python3 _tools/blogquine.py --src-dir blog --quine-dir blog ../public_html/ MayxBlog.7z
+mv MayxBlog.7z ../public_html/
cd ../public_html/
unset GIT_DIR
git init
git branch -m main
git add .
git commit -m "update"
+git branch pages
git remote add codeberg ssh://git@codeberg.org/mayx/pages.git
git remote add bitbucket ssh://git@bitbucket.org/unmayx/unmayx.bitbucket.io.git
git push -f codeberg main
+git push -f codeberg pages
git push -f bitbucket main
/home/mayx/blog-env/node_modules/surge/bin/surge /home/mayx/public_html/ mayx.surge.sh \ No newline at end of file