Skip to content

specify model

specify model #72

Workflow file for this run

name: Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Restore cache
uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Packages
run: pip install mkdocs-material mkdocstrings[python] pandas mkdocs-table-reader-plugin
- name: Build
run: mkdocs build
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
touch site/.nojekyll
echo 'biochatter.org' > site/CNAME
git add -f site/
git commit -m "Update autodoc" -a
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: site
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}