mirror of https://github.com/Mabbs/mabbs.github.io
				
				
				
			Update .gitlab-ci.yml
This commit is contained in:
		
							parent
							
								
									d8c77d5654
								
							
						
					
					
						commit
						3c15c9e3b2
					
				| 
						 | 
					@ -30,10 +30,8 @@ test:
 | 
				
			||||||
pages:
 | 
					pages:
 | 
				
			||||||
  stage: deploy
 | 
					  stage: deploy
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - git clone https://github.com/Mabbs/Mabbs
 | 
					    - wget -O Mabbs/index.html https://mabbs.github.io/Mabbs/
 | 
				
			||||||
    - rm -rf .git/
 | 
					    - rm -rf .git/
 | 
				
			||||||
    - rm -rf Mabbs/.git/
 | 
					 | 
				
			||||||
    - mv Mabbs/README.md Mabbs/index.md
 | 
					 | 
				
			||||||
    - bundle exec jekyll build -d public
 | 
					    - bundle exec jekyll build -d public
 | 
				
			||||||
    - rm -rf .jekyll-cache/
 | 
					    - rm -rf .jekyll-cache/
 | 
				
			||||||
    - tar czvf ../MayxBlog.tgz .
 | 
					    - tar czvf ../MayxBlog.tgz .
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue