ptools/.gitea/workflows/deploy_site.yml
Minhyeok Park 5aaf1015aa
All checks were successful
/ deploy_site (push) Successful in 24s
feat: exclude git and gitea folder
2024-10-15 14:27:05 +09:00

15 lines
476 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 --exclude '.git/*' --exclude '.gitea/*'