Skip to content

use source nelpy pyproject.toml #2

use source nelpy pyproject.toml

use source nelpy pyproject.toml #2

Workflow file for this run

name: Docs
on: [push, pull_request]
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: oprypin/install-crystal@v1
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python libs
run: pip install .
- name: Install Crystal libs
run: |
shards init
shards install
- name: Build site
run: mkdocs build
- name: Deploy to gh-pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: mkdocs gh-deploy --force