Skip to content

Update gen.yml

Update gen.yml #18

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v4
with:
path: .cache
key: ${{ github.ref }}
- run: pip install mkdocs-material mkdocs-jupyter mkdocs-plotly-plugin mkdocstrings-python mkdocs-plugin-inline-svg
- name: Build MkDocs site
run: mkdocs build
- name: Add CNAME file
run: echo 'enzymeml.org' > site/CNAME
- name: Deploy MkDocs site
run: mkdocs gh-deploy --force