Update program to be controlled by Node RED via MQTT #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Publish documentation using mkdocs via GitHub pages | |
name: Documentation | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: github.event.repository.fork == false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install git+https://${PERSONAL_TOKEN}@github.com/squidfunk/mkdocs-material.git | |
- run: mkdocs gh-deploy --force | |
env: | |
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN}} |