summaryrefslogtreecommitdiff
path: root/_tools/envs_post-receive
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2026-05-19 05:31:46 +0200
committermayx <mayx@outlook.com>2026-05-19 05:31:46 +0200
commit862bffac806a5f7ee0e12cc3f13a36178c003db1 (patch)
treee837caa58f2c89061e127c4819d096e11572dc1c /_tools/envs_post-receive
parentc888a89f415b28ce5494a7fcd9015fe600eb1a34 (diff)
Update 3 filesHEADmaster
- /_data/proxylist.yml - /_data/other_repo_list.csv - /_tools/envs_post-receive
Diffstat (limited to '_tools/envs_post-receive')
-rw-r--r--_tools/envs_post-receive3
1 files changed, 3 insertions, 0 deletions
diff --git a/_tools/envs_post-receive b/_tools/envs_post-receive
index 6212158..07c8183 100644
--- a/_tools/envs_post-receive
+++ b/_tools/envs_post-receive
@@ -6,6 +6,7 @@ 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
+rsync --delete -rv ../public_html/ mayx@pgs.sh:/blog
tar czvf MayxBlog.tgz --exclude-vcs ../public_html/
mv MayxBlog.tgz ../public_html/
cd ../public_html/
@@ -14,8 +15,10 @@ 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