add audiobookshelf logo #234
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 docs to GitHub Pages via mkdocs | |
permissions: write-all | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.x | |
- run: pip install -r docs/requirements.txt | |
- run: mkdocs gh-deploy --force | |
- name: Clear CF Cache | |
run: | | |
curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \ | |
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_CACHE_PURGE }}" \ | |
-H "Content-Type:application/json" |