Skip to content

Publish remote docs via GitHub Pages #41

Publish remote docs via GitHub Pages

Publish remote docs via GitHub Pages #41

Workflow file for this run

name: Publish remote docs via GitHub Pages
on:
schedule:
# Run every saturday at 00:00
- cron: '0 0 * * 6'
workflow_dispatch:
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Checkout photobooth
uses: actions/checkout@v4
with:
repository: PhotoboothProject/photobooth
path: photobooth
submodules: true
- name: Deploy and publish docs
uses: andi34/mkdocs-deploy-gh-pages@nomaterial
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: mkdocs_remote.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: requirements.txt