chore(ci): add build process
All checks were successful
/ deploy_site (push) Successful in 25s

This commit is contained in:
Minhyeok Park 2024-11-14 10:23:06 +09:00
parent 27eec84e47
commit d13974fc9f
Signed by: pmh_only
SSH Key Fingerprint: SHA256:g/OyGvi2pcd8ub9mqge/ohmDP0fZX/xOPWPIcM+9XpI

View File

@ -0,0 +1,18 @@
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: apk add zip
- run: npm i
- run: npm run build
- run: zip -r force_delete.zip force_delete.js manifest.json icons
- run: mc cp $PWD/force_delete.zip minio/releases/force_delete/force_delete_packed.zip