Publish remote docs via GitHub Pages #37
Workflow file for this run
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
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 |