Skip to content

feat: CLI easy-slurm command #12

feat: CLI easy-slurm command

feat: CLI easy-slurm command #12

name: publish documentation
on:
push:
branches:
- main
jobs:
docs-to-gh-pages:
runs-on: ubuntu-latest
name: Publish documentation
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
poetry install --with=docs
- name: Build documentation
run: |
poetry run make docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
enable_jekyll: false