ci(script): enhance CI workflows and API integration
- Change script execution to a multi-line bash script with error handling in GitHub workflow Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									3f1416813d
								
							
						
					
					
						commit
						2763143a97
					
				
							
								
								
									
										5
									
								
								.github/workflows/stable.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/stable.yml
									
									
									
									
										vendored
									
									
								
							@ -37,7 +37,10 @@ jobs:
 | 
			
		||||
          username: linuxserver.io
 | 
			
		||||
          password: password
 | 
			
		||||
          port: 2222
 | 
			
		||||
          script: whoami
 | 
			
		||||
          script: |
 | 
			
		||||
            #!/usr/bin/env bash
 | 
			
		||||
            set -e
 | 
			
		||||
            whoami
 | 
			
		||||
 | 
			
		||||
  check-ssh-key:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user