minio-deploy-action/entrypoint.sh

6 lines
131 B
Bash
Executable File

#!/usr/bin/env bash
mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
mc mirror --overwrite $1 "deploy/$2"