ptools-v2/.gitea/workflows/deploy_site.yml
Minhyeok Park dea7b2cd20
All checks were successful
/ deploy_site (push) Successful in 24s
chore(ci): typo
2024-11-12 20:04:02 +09:00

17 lines
451 B
YAML

on:
push:
workflow_dispatch:
jobs:
deploy_site:
runs-on: ubuntu-latest
container:
image: src.pmh.codes/build-tools/react2minio:latest
steps:
- uses: actions/checkout@v4
- run: mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
- run: pnpm i
- run: pnpm build
- run: mc mirror $PWD/dist/ minio/ptools --overwrite