From 680c0b60d13507953629c148f3942a69b45688f4 Mon Sep 17 00:00:00 2001 From: Minhyeok Park Date: Tue, 15 Oct 2024 14:18:39 +0900 Subject: [PATCH] fix: use mc mirror command instead of just copying it --- .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 9b797a3..9978f20 100644 --- a/.gitea/workflows/deploy_site.yml +++ b/.gitea/workflows/deploy_site.yml @@ -9,5 +9,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 cp -r . minio/ptools + - run: /tmp/mc mirror $PWD/ minio/ptools