From a55849e719559b4d10f9dcdf947d43ab8891cae0 Mon Sep 17 00:00:00 2001 From: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com> Date: Mon, 12 Apr 2021 16:04:16 +0200 Subject: [PATCH] chore: fix doc deployment (DSP-1492) (#57) * chore: fix docs deployment * fix: remove wrong requirements reference * chore: add temporary test-docs workflow * chore: add separate requirements for docs * chore: remove docs test --- .github/workflows/release.yml | 18 +++++------------- docs/requirements.txt | 3 +++ 2 files changed, 8 insertions(+), 13 deletions(-) create mode 100644 docs/requirements.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46bc4daf0..8e8475794 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,20 +42,12 @@ jobs: steps: # check out repo - uses: actions/checkout@v2 - with: - fetch-depth: 1 # install python - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.9' - # install pythonn dependencies - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - # release latest docs - - run: make publish-docs + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + REQUIREMENTS: docs/requirements.txt notification: name: Google chat notification about release and published version diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..ca377fb91 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ + +mkdocs +mkdocs-material \ No newline at end of file