Skip to content

Merge pull request #93 from kevinheavey/keypair-from-string-no-panic #194

Merge pull request #93 from kevinheavey/keypair-from-string-no-panic

Merge pull request #93 from kevinheavey/keypair-from-string-no-panic #194

Workflow file for this run

name: docs
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: "3.9"
- name: Install python dependencies
run: |
pip install sphinx==6.2.1 sphinx-rtd-theme==1.2.0 myst-parser==1.0.0 pybip39
- name: Build Wheels
uses: messense/maturin-action@v1
with:
command: build
args: --release --out dist
- name: Install module
run: |
pip install typing-extensions jsonalias
pip install solders --no-index --no-dependencies --find-links dist --force-reinstall
- name: Build documentation
run: make html
- name: Test documentation
run: make doctest
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
force_orphan: true