mirror of
https://github.com/libretro/docs.git
synced 2024-11-27 10:40:28 +00:00
33 lines
703 B
YAML
33 lines
703 B
YAML
name: Publish docs via GitHub Pages
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
inputs:
|
|
logLevel:
|
|
description: 'Log level'
|
|
required: true
|
|
default: 'release'
|
|
type: choice
|
|
options:
|
|
- debug
|
|
- release
|
|
- testing
|
|
|
|
jobs:
|
|
build:
|
|
name: Deploy docs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout main
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Deploy docs
|
|
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CONFIG_FILE: mkdocs.yml
|
|
EXTRA_PACKAGES: build-base
|
|
REQUIREMENTS: docs/requirements.txt
|