From 52a041521dcf4de7d58548e48c19f2b31f69f0bb Mon Sep 17 00:00:00 2001 From: Johannes Braun <29555657+joBr99@users.noreply.github.com> Date: Sun, 22 Feb 2026 01:01:31 +0100 Subject: [PATCH] fix3 --- .github/workflows/docs-release.yml | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml index 5b55f8a5..fb24ff1b 100644 --- a/.github/workflows/docs-release.yml +++ b/.github/workflows/docs-release.yml @@ -14,11 +14,14 @@ on: - HMI/README.md jobs: - build: + deploy: runs-on: ubuntu-latest + permissions: + contents: write steps: - - uses: actions/configure-pages@v5 - uses: actions/checkout@v6 + with: + fetch-depth: 0 - uses: actions/setup-python@v6 with: python-version: 3.x @@ -45,20 +48,9 @@ jobs: echo "Standalone docs output not found (tried site-standalone, docs-standalone/site, site, docs-standalone/build, build)." exit 1 fi - - uses: actions/upload-pages-artifact@v4 + - uses: peaceiris/actions-gh-pages@v4 with: - path: _site - - deploy: - needs: build - runs-on: ubuntu-latest - permissions: - contents: read - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - id: deployment - uses: actions/deploy-pages@v4 + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: _site + force_orphan: true