fix: overwrite file if already exist
All checks were successful
/ deploy_site (push) Successful in 30s
All checks were successful
/ deploy_site (push) Successful in 30s
This commit is contained in:
parent
956760148d
commit
acf7b7171d
@ -12,5 +12,5 @@ jobs:
|
|||||||
- run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc
|
- run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc
|
||||||
- run: chmod +x /tmp/mc
|
- run: chmod +x /tmp/mc
|
||||||
- run: /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
|
- run: /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
|
||||||
- run: /tmp/mc mirror $PWD/ minio/ptools --exclude '.git/*' --exclude '.gitea/*'
|
- run: /tmp/mc mirror $PWD/ minio/ptools --exclude '.git/*' --exclude '.gitea/*' --overwrite
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user