Unverified Commit d21438f0 authored by Sidney233's avatar Sidney233 Committed by GitHub
Browse files

Create main.yml

parent 5f1175fa
name: Publish docs via GitHub Pages
on:
push:
branches:
- main
- dev
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
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
PERSONAL_TOKEN: ${{ secrets.MINERU_DOCS }}
CONFIG_FILE: folder/mkdocs.yml
EXTRA_PACKAGES: build-base
# GITHUB_DOMAIN: github.myenterprise.com
REQUIREMENTS: folder/docs/requirements.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment