feat: CLI easy-slurm
command
#12
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: 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 |