Publish Docs #187
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
# Copyright (c) Microsoft Corporation. | |
# Licensed under the MIT License. | |
name: Publish Docs | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pip | |
run: python3 -m pip install --upgrade pip setuptools wheel | |
- name: Install MkDocs | |
run: | | |
pip install mkdocs | |
pip install mkdocs-macros-plugin | |
- name: MkDocs build | |
run: mkdocs build | |
- name: MkDocs deploy | |
run: mkdocs gh-deploy --force |