mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 21:01:29 +08:00 
			
		
		
		
	Update 6 files
- /_data/links.csv - /_data/proxylist.yml - /_tools/envs_post-receive - /_tools/serv00_post-receive - /_tools/ai-summary.js - /_posts/2025-09-01-quine.md
This commit is contained in:
		
							
								
								
									
										21
									
								
								_tools/envs_post-receive
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								_tools/envs_post-receive
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
cd /home/mayx/
 | 
			
		||||
rm -rf public_html
 | 
			
		||||
git --work-tree=/home/mayx/blog --git-dir=/home/mayx/blog.git checkout -f
 | 
			
		||||
cd blog
 | 
			
		||||
mkdir Mabbs
 | 
			
		||||
curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md
 | 
			
		||||
bundle2.7 exec jekyll build -d ../public_html
 | 
			
		||||
tar czvf MayxBlog.tgz --exclude-vcs ../public_html/
 | 
			
		||||
mv MayxBlog.tgz ../public_html/
 | 
			
		||||
cd ../public_html/
 | 
			
		||||
unset GIT_DIR
 | 
			
		||||
git init
 | 
			
		||||
git branch -m main
 | 
			
		||||
git add .
 | 
			
		||||
git commit -m "update"
 | 
			
		||||
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 bitbucket main
 | 
			
		||||
/home/mayx/blog-env/node_modules/surge/bin/surge /home/mayx/public_html/ mayx.surge.sh
 | 
			
		||||
		Reference in New Issue
	
	Block a user