From be6a6761f7aac12a90bab90e55dff963b36de5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Wed, 20 Sep 2023 19:05:48 +0200 Subject: [PATCH] Fix deployment of documentation. --- .github/workflows/default.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 985cd8d..95564f5 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -28,18 +28,11 @@ jobs: run: poetry run sphinx-build -b html docs/source docs/build env: PYTHONPATH: docs - - - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - name: Install SSH Client 🔑 - uses: webfactory/ssh-agent@v0.4.1 - with: - ssh-private-key: ${{ secrets.DEPLOY_KEY }} - - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} name: Deploy Documentation - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: JamesIves/github-pages-deploy-action@v4 with: - SSH: true - REPOSITORY_NAME: ModOrganizer2/python-plugins-doc - BRANCH: master - FOLDER: docs/build + ssh-key: ${{ secrets.DEPLOY_KEY }} + repository-name: ModOrganizer2/python-plugins-doc + branch: master + folder: docs/build