ptools/.gitea/workflows/deploy_site.yml
Minhyeok Park 680c0b60d1
All checks were successful
/ deploy_site (push) Successful in 10s
fix: use mc mirror command instead of just copying it
2024-10-15 14:18:39 +09:00

14 lines
402 B
YAML

on:
push:
workflow_dispatch:
jobs:
deploy_site:
runs-on: ubuntu-latest
steps:
- 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