diff --git a/.github/workflows/chromadeck_build.yml b/.github/workflows/chromadeck_build.yml index e0df5ac45b..6ee57037e5 100644 --- a/.github/workflows/chromadeck_build.yml +++ b/.github/workflows/chromadeck_build.yml @@ -7,6 +7,10 @@ on: branches: [ "chromadeck" ] workflow_dispatch: # manual trigger +permissions: + pages: write + id-token: write + jobs: setup: runs-on: ubuntu-latest @@ -154,11 +158,13 @@ jobs: with: name: doxygen-docs-chromadeck path: docs/chromadeck - - name: Deploy docs to GitHub Pages - uses: actions/deploy-pages@v4 + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 with: - path: docs/chromadeck - target-path: docs/chromadeck + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/chromadeck + destination_dir: docs/chromadeck + nojekyll: true # If your site needs raw HTML deployment deploy: needs: [setup, test, embedded, wasm, docs]