ptools-v2/.gitea/workflows/deploy_site.yml
Minhyeok Park c9ddfbc9b8
Some checks failed
/ deploy_site (push) Failing after 23s
chore(ci): use prebuilt image for building
2024-11-12 20:03:11 +09:00

17 lines
456 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: /tmp/mc mirror $PWD/dist/ minio/ptools --overwrite