Set best practice bash options in shell script
This commit is contained in:
		
							parent
							
								
									1f4fafcee5
								
							
						
					
					
						commit
						3ef78dd641
					
				|  | @ -1,5 +1,7 @@ | ||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| 
 | 
 | ||||||
|  | set -euxo pipefail | ||||||
|  | 
 | ||||||
| mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY | mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY | ||||||
| 
 | 
 | ||||||
| mc mirror --overwrite $1 "deploy/$2" | mc mirror --overwrite $1 "deploy/$2" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Haralan Dobrev
						Haralan Dobrev