From acf7b7171d5421e2d7cfd500a37e26562bb0d219 Mon Sep 17 00:00:00 2001 From: Minhyeok Park Date: Tue, 15 Oct 2024 15:34:52 +0900 Subject: [PATCH] fix: overwrite file if already exist --- .gitea/workflows/deploy_site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy_site.yml b/.gitea/workflows/deploy_site.yml index 6aae4c6..64fef34 100644 --- a/.gitea/workflows/deploy_site.yml +++ b/.gitea/workflows/deploy_site.yml @@ -12,5 +12,5 @@ jobs: - run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /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 mirror $PWD/ minio/ptools --exclude '.git/*' --exclude '.gitea/*' + - run: /tmp/mc mirror $PWD/ minio/ptools --exclude '.git/*' --exclude '.gitea/*' --overwrite