feat: change minio enpoint for upload

This commit is contained in:
Minhyeok Park 2024-10-15 14:14:00 +09:00
parent 17085c5924
commit 430162ee25
Signed by: pmh_only
SSH Key Fingerprint: SHA256:g/OyGvi2pcd8ub9mqge/ohmDP0fZX/xOPWPIcM+9XpI

View File

@ -6,8 +6,8 @@ jobs:
deploy_site: deploy_site:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- 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 https://minio.pmh.codes ${{ 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 cp -r . minio/ptools - run: /tmp/mc cp -r . minio/ptools