Fix(envs): set environment variable instead of bash variable (#209)
This commit is contained in:
		
							parent
							
								
									4a03da89e5
								
							
						
					
					
						commit
						d91a1af6f5
					
				
							
								
								
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -88,6 +88,7 @@ jobs: | |||||||
|           echo "I am $BAR, thanks" |           echo "I am $BAR, thanks" | ||||||
|           echo "sha: $SHA" |           echo "sha: $SHA" | ||||||
|           echo "port: $PORT" |           echo "port: $PORT" | ||||||
|  |           sh test.sh | ||||||
| 
 | 
 | ||||||
|     - name: ssh key passphrase |     - name: ssh key passphrase | ||||||
|       uses: ./ |       uses: ./ | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| FROM appleboy/drone-ssh:1.6.5-linux-amd64 | FROM appleboy/drone-ssh:1.6.8-linux-amd64 | ||||||
| 
 | 
 | ||||||
| COPY entrypoint.sh /entrypoint.sh | COPY entrypoint.sh /entrypoint.sh | ||||||
| RUN chmod +x /entrypoint.sh | RUN chmod +x /entrypoint.sh | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu