diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0adbfd4..befa354 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,23 +9,24 @@ on: jobs: docs: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v1 - - run: | - git fetch --no-tags --prune --depth=1 origin gh-pages + - uses: actions/checkout@v2 + - run: | + git fetch --no-tags --prune --depth=1 origin gh-pages - - name: Set up Python - uses: actions/setup-python@v1 - with: - python-version: 3.8 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: 3.8 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e ."[docs]" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e ."[docs]" - - name: Build docs - run: mkdocs build + - name: Build docs + run: mkdocs build - - name: Publish docs - run: mkdocs gh-deploy + - name: Publish docs + run: mkdocs gh-deploy