add pages to gitlab.yml
This commit is contained in:
		@@ -3,6 +3,7 @@ image: hosttoday/ht-docker-node
 | 
				
			|||||||
stages:
 | 
					stages:
 | 
				
			||||||
- test
 | 
					- test
 | 
				
			||||||
- release
 | 
					- release
 | 
				
			||||||
 | 
					- page
 | 
				
			||||||
 | 
					
 | 
				
			||||||
testLTS:
 | 
					testLTS:
 | 
				
			||||||
  stage: test
 | 
					  stage: test
 | 
				
			||||||
@@ -26,3 +27,17 @@ release:
 | 
				
			|||||||
    - tags
 | 
					    - tags
 | 
				
			||||||
  tags:
 | 
					  tags:
 | 
				
			||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					page:
 | 
				
			||||||
 | 
					  stage: page
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					  - npmci test lts
 | 
				
			||||||
 | 
					  - mkdir .public
 | 
				
			||||||
 | 
					  - cp -r coverage/ .public
 | 
				
			||||||
 | 
					  - cp -r docs/ .public
 | 
				
			||||||
 | 
					  - mv .public public
 | 
				
			||||||
 | 
					  artifacts:
 | 
				
			||||||
 | 
					    paths:
 | 
				
			||||||
 | 
					    - public
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					  - master
 | 
				
			||||||
		Reference in New Issue
	
	Block a user