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