From 71378ed10d537fd01c951572c06958d3c85461a6 Mon Sep 17 00:00:00 2001 From: Tyler Nguyen Date: Wed, 20 Apr 2022 02:48:01 -0500 Subject: [PATCH] Update documentation.yml --- .github/workflows/documentation.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 34c6597..0321d2d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -6,16 +6,24 @@ on: workflow_dispatch: jobs: - deploy: + documentation: + name: Build documentation runs-on: ubuntu-latest - if: github.event.repository.fork == false steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Python runtime + uses: actions/setup-python@v2 with: python-version: 3.x - - run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git + + - name: Install Insiders build + if: github.event.repository.fork == false env: GH_TOKEN: ${{ secrets.GH_TOKEN }} - - run: mkdocs gh-deploy --force - + run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git + + - name: Deploy documentation + run: mkdocs gh-deploy --force +