diff options
| author | mayx <mayx@outlook.com> | 2026-05-19 05:31:46 +0200 |
|---|---|---|
| committer | mayx <mayx@outlook.com> | 2026-05-19 05:31:46 +0200 |
| commit | 862bffac806a5f7ee0e12cc3f13a36178c003db1 (patch) | |
| tree | e837caa58f2c89061e127c4819d096e11572dc1c /_tools | |
| parent | c888a89f415b28ce5494a7fcd9015fe600eb1a34 (diff) | |
- /_data/proxylist.yml
- /_data/other_repo_list.csv
- /_tools/envs_post-receive
Diffstat (limited to '_tools')
| -rw-r--r-- | _tools/envs_post-receive | 3 |
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 |
