From 35ce122bd89db253d5fb8973141385337ffbc602 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Sat, 17 Oct 2020 16:44:00 +0200 Subject: [PATCH] ci: Remove use of action --- .github/workflows/main.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e629d94..e48ff42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout master - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - - name: Deploy to GH Pages - uses: mhausenblas/mkdocs-deploy-gh-pages@5498449 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Set up Python 3.x + uses: actions/setup-python@v2 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Build and deploy + run: mkdocs gh-deploy --strict