update logo #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy documentation | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/deploy-docs.yml' | |
- 'docs/**' | |
workflow_dispatch: | |
concurrency: | |
group: deploy | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # to push a branch | |
pages: write # to push to a github pages site | |
id-token: write # to update the deployment status | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install tools | |
uses: jdx/mise-action@v2 | |
with: | |
working_directory: docs | |
- name: Build documentation | |
run: | | |
cd docs | |
mkdocs build | |
- name: Setup Pages | |
uses: actions/configure-pages@v4 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "docs/public" | |
- name: Deploy to Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |