Skip to content

docs(docs): updates documentation on my home assistant setup #8

docs(docs): updates documentation on my home assistant setup

docs(docs): updates documentation on my home assistant setup #8

Workflow file for this run

name: Deploy MkDocs
on:
push:
branches:
- master # Change this if your default branch is different
permissions:
contents: write # Allows pushing to gh-pages
pages: write # Allows GitHub Pages deployment
id-token: write # Required for publishing # This allows pushing to gh-pages
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install MkDocs
run: pip install mkdocs mkdocs-material
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force --remote-name origin --remote-branch gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}