Set best practice bash options in shell script

main 1.0.0
Haralan Dobrev 2 years ago
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…
Cancel
Save