ptools/.gitea/workflows/deploy_site.yml

15 lines
436 B
YAML
Raw Normal View History

2024-10-15 05:05:28 +00:00
on:
push:
workflow_dispatch:
jobs:
deploy_site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2024-10-15 05:14:00 +00:00
- run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc
2024-10-15 05:05:28 +00:00
- run: chmod +x /tmp/mc
2024-10-15 05:14:00 +00:00
- 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
2024-10-15 05:05:28 +00:00