From 92f5d48fa682e7c583d209a370d5ca394c0e236c Mon Sep 17 00:00:00 2001 From: Anne Koelewijn Date: Mon, 9 Dec 2024 11:38:28 +0100 Subject: [PATCH] with newer gh-pages --- .github/workflows/main.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d7f50ff..0796f88 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,10 +30,20 @@ jobs: # Working directory working-directory: "./docs/Doxygen" # default is . - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + - name: Upload static files as artifact + id: deployment + uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action with: - github_token: ${{ secrets.GITHUB_TOKEN }} - # Default Doxyfile build documentation to html directory. - # Change the directory if changes in Doxyfile - publish_dir: ./docs/Doxygen/html + path: ./docs/Doxygen/pages + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4