Skip to content

Merge pull request #65 from hyperwallet/ghas #25

Merge pull request #65 from hyperwallet/ghas

Merge pull request #65 from hyperwallet/ghas #25

Workflow file for this run

name: Update Documentation
on:
workflow_dispatch:
push:
branches:
- master
jobs:
documentation:
runs-on: ubuntu-latest
name: Documentation
strategy:
fail-fast: false
matrix:
python-version:
[
'3.10'
]
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install tools
run: make build
- name: Clean
run: make dev
- name: Generate Documentation
run: make docs
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: doc/_build/html
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Documentation updated"