update #76
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
# This is a basic workflow to help you get started with Actions | |
name: mkdocs CI | |
# Controls when the action will run. | |
on: push | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
# Runs a set of commands using the runners shell | |
- name: install | |
run: | | |
sudo apt install curl | |
curl https://bootstrap.pypa.io/get-pip.py > get-pip.py | |
python get-pip.py | |
pip install mkdocs | |
- name: mkdocs | |
run: mkdocs gh-deploy --force |