forked from MapComplete/MapComplete
		
	Scripts: add date to builds
This commit is contained in:
		
							parent
							
								
									b4057c4b8f
								
							
						
					
					
						commit
						8ec0b4f916
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -73,7 +73,7 @@ jobs:
 | 
			
		|||
      - name: unzipping remote file
 | 
			
		||||
        run: |
 | 
			
		||||
          BRANCH=$(echo ${{ github.ref_name }} | sed 's/\//-/g')
 | 
			
		||||
          ssh hetzner "cd /root/staging && rm -rf ${BRANCH} && unzip ${BRANCH}.zip && rm -rf /root/public/${BRANCH} && mv /root/staging/${BRANCH}/ /root/public/ && rm ${BRANCH}.zip"
 | 
			
		||||
          ssh hetzner "cd /root/staging && rm -rf ${BRANCH} && unzip ${BRANCH}.zip && rm -rf /root/public/${BRANCH} && mv /root/staging/${BRANCH}/ /root/public/ && date --iso > /root/staging/${BRANCH}/date.txt && rm ${BRANCH}.zip"
 | 
			
		||||
 | 
			
		||||
      - name: Comment on the PR
 | 
			
		||||
        run: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue