2 Commits
main ... test3

Author SHA1 Message Date
642988c242 fix: remove / 2025-08-28 06:32:49 +02:00
c32e7c4238 feat: reorganise params 2025-08-28 06:24:59 +02:00
3 changed files with 5 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ jobs:
bucket: 'mybucket'
source_dir 'public'
target_dir: '/'
options: '--overwrite --exclude ".*"'
```
## License

View File

@@ -34,9 +34,9 @@ runs:
MINIO_ACCESS_KEY: ${{ inputs.access_key }}
MINIO_SECRET_KEY: ${{ inputs.secret_key }}
args:
- ${{ inputs.source_dir }}
- "${{ inputs.bucket }}${{ inputs.target_dir }}"
- ${{ inputs.options }}
- ${{ inputs.source_dir }}
- ${{ inputs.bucket }}${{ inputs.target_dir }}
branding:
icon: "upload-cloud"
color: "black"

View File

@@ -3,7 +3,7 @@ set -euo pipefail
mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY --api S3v4
echo "$1 deploy/$2 $3"
echo "$1 $2 deploy/$3"
echo "Mirroring"
mc mirror --overwrite $1 "deploy/$2" $3
mc mirror $1 $2 "deploy/$3"