Skip to content

Commit

Permalink
ci: deploy to minio
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomango committed Oct 22, 2024
1 parent 43691a1 commit 66617ec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-minio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to minio

on:
push:
branches: [ main, master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: build
uses: mattnotmitt/doxygen-action@v1.9.4

- name: Upload to minio
uses: lovellfelix/minio-deploy-action@v1
with:
endpoint: ${{ vars.MINIO_ENDPOINT }}
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
secret_key: ${{ secrets.MINIO_SECRET_KEY }}
bucket: ${{ vars.MINIO_BUCKET }}
source_dir: 'docs/html'
target_dir: '/'

0 comments on commit 66617ec

Please sign in to comment.