ptools/.gitea/workflows/deploy_site.yml
Minhyeok Park bdb00f739a
Some checks failed
/ deploy_site (push) Failing after 12s
feat: add 3 encoder/decoder thigns
2024-10-15 15:31:17 +09:00

17 lines
557 B
YAML

on:
push:
workflow_dispatch:
jobs:
deploy_site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: wget -qO- https://get.pnpm.io/install.sh | sh -
- run: pnpm i
- 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/*'