forked from MapComplete/MapComplete
		
	Scripts: use relative path in upload action
This commit is contained in:
		
							parent
							
								
									82c77de2ea
								
							
						
					
					
						commit
						19ba6adf8a
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -15,7 +15,8 @@ runs: | |||
|       shell: bash | ||||
|       run: | | ||||
|         F=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16) | ||||
|         zip $F.zip -r ${{ inputs.src }}/* | ||||
|         cd ${{ inputs.src }} | ||||
|         zip $F.zip -r ./* | ||||
|         scp $F.zip hetzner:${{ inputs.dst }}/$F.zip | ||||
|         ssh hetzner "cd ${{ inputs.dst }} && unzip $F.zip && rm $F.zip" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue