chore: upgrade metaprompt-generator-client (#120) #147
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: 'Release Docs' | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
pip install mkdocs-material | |
pip install mkdocs-glightbox | |
pip install mkdocs-minify-plugin | |
pip install mkdocs-material-extensions | |
pip install pillow cairosvg | |
pip install mkdocs-include-markdown-plugin | |
- name: Copy subproject images | |
run: python copy_subproject_images.py | |
- name: Build MkDocs site | |
run: mkdocs build | |
- name: Debug - List built site contents | |
run: ls -R site | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site |