diff options
Diffstat (limited to '_tools')
| -rw-r--r-- | _tools/envs_post-receive | 5 | ||||
| -rw-r--r-- | _tools/serv00_post-receive | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/_tools/envs_post-receive b/_tools/envs_post-receive index fa0f7c6..1df73b4 100644 --- a/_tools/envs_post-receive +++ b/_tools/envs_post-receive @@ -7,7 +7,8 @@ mkdir Mabbs curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md bundle exec jekyll build -d ../public_html python3 _tools/blogquine.py --src-dir blog --quine-dir blog ../public_html/ MayxBlog.7z -mv MayxBlog.7z ../public_html/ +7z a -mx9 -bd -bb0 MayxBlog-new.7z MayxBlog.7z +mv MayxBlog-new.7z ../public_html/MayxBlog.7z cd ../public_html/ unset GIT_DIR git init @@ -18,6 +19,6 @@ 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 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 diff --git a/_tools/serv00_post-receive b/_tools/serv00_post-receive index f0192dc..4ad6077 100644 --- a/_tools/serv00_post-receive +++ b/_tools/serv00_post-receive @@ -7,13 +7,15 @@ mkdir Mabbs curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md bundle exec jekyll build -d ../domains/mayx.serv00.net/public_html/ python3 _tools/blogquine.py --src-dir blog --quine-dir blog ../domains/mayx.serv00.net/public_html/ MayxBlog.7z -mv MayxBlog.7z ../domains/mayx.serv00.net/public_html/ +7zz a -mx9 -bd -bb0 MayxBlog-new.7z MayxBlog.7z +mv MayxBlog-new.7z ../domains/mayx.serv00.net/public_html/MayxBlog.7z rsync -avz --delete ../domains/mayx.serv00.net/public_html/ mayx@web.sourceforge.net:/home/project-web/mayx/htdocs/ cd ../domains/mayx.serv00.net/public_html/ unset GIT_DIR git init git lfs install git lfs track "*.png" +git lfs track "*.webp" git lfs track "*.moc" git lfs track "*.tgz" git lfs track "*.jpg" |
