forked from MapComplete/MapComplete
		
	Setting up CD
This commit is contained in:
		
							parent
							
								
									446d988d80
								
							
						
					
					
						commit
						529e85d2b7
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
					@ -48,5 +48,10 @@ jobs:
 | 
				
			||||||
          cd mapcomplete.github.io/
 | 
					          cd mapcomplete.github.io/
 | 
				
			||||||
          echo "mapcomplete.osm.be" > CNAME
 | 
					          echo "mapcomplete.osm.be" > CNAME
 | 
				
			||||||
          git add *
 | 
					          git add *
 | 
				
			||||||
          git commit -am "Deploying a new version"
 | 
					          if git status | grep -q "Changes to be committed"
 | 
				
			||||||
          git push
 | 
					          then
 | 
				
			||||||
 | 
					            git commit -am "Deploying a new version"
 | 
				
			||||||
 | 
					            git push
 | 
				
			||||||
 | 
					          else
 | 
				
			||||||
 | 
					            echo "No changes to commit"
 | 
				
			||||||
 | 
					          fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue