feat: checkout git repository before mirror to minio

This commit is contained in:
Minhyeok Park 2024-10-15 14:23:30 +09:00
parent 680c0b60d1
commit f25911fb77
Signed by: pmh_only
SSH Key Fingerprint: SHA256:g/OyGvi2pcd8ub9mqge/ohmDP0fZX/xOPWPIcM+9XpI

View File

@ -6,6 +6,7 @@ jobs:
deploy_site: deploy_site:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
- 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 }}