ptools/.gitea/workflows/deploy_site.yml
Minhyeok Park f25911fb77
All checks were successful
/ deploy_site (push) Successful in 27s
feat: checkout git repository before mirror to minio
2024-10-15 14:23:30 +09:00

15 lines
436 B
YAML

on:
push:
workflow_dispatch:
jobs:
deploy_site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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