Skip to content

update action

update action #15

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install kima
# - name: Run examples
# run: |
# make -C docs
- name: Install docs packages
run: |
python -m pip install mkdocs-material mkdocstrings[python]
python -m pip install mkdocs-jupyter
python -m pip install mkdocs-git-revision-date-localized-plugin
- name: Import
run: |
python -c "import kima"
python -c "from kima import pykima"
- name: GH deploy
run: |
mkdocs gh-deploy --force