29 lines
572 B
YAML
29 lines
572 B
YAML
|
name: Publish docs via GitHub Pages
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Deploy docs
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
|
||
|
- name: Checkout master
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Setup Python
|
||
|
uses: actions/setup-python@v1
|
||
|
|
||
|
- uses: BSFishy/pip-action@v1
|
||
|
with:
|
||
|
packages: |
|
||
|
json-schema-for-humans
|
||
|
|
||
|
- name: Deploy docs
|
||
|
uses: mhausenblas/mkdocs-deploy-gh-pages@1.16
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||
|
CUSTOM_DOMAIN: cli.sasjs.io
|