Skip to content

updated mkdocs.yaml to use secret token (#56) #65

updated mkdocs.yaml to use secret token (#56)

updated mkdocs.yaml to use secret token (#56) #65

Workflow file for this run

name: mkdocs
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocstrings[python] mkdocs-jupyter
- run: |
git remote set-url origin https://x-access-token:${{ secrets.GH_PAGES_TOKEN }}@github.com/${{ github.repository }}
mkdocs gh-deploy --force