mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
commit
a222e7d886
28
.github/workflows/build-doxygen.yml
vendored
28
.github/workflows/build-doxygen.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Doxygen
|
- name: Set up Doxygen
|
||||||
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz build-essential libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev
|
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz build-essential libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev
|
||||||
|
|
@ -26,25 +26,9 @@ jobs:
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
- name: Generate Docs
|
- name: Generate Docs
|
||||||
run: cd docs && doxygen
|
run: cd docs && doxygen
|
||||||
- name: Configure Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: actions/configure-pages@v4
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
- name: Upload Pages Artifacts
|
|
||||||
uses: actions/upload-pages-artifact@v4
|
|
||||||
with:
|
with:
|
||||||
path: ./docs/html
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
deploy:
|
publish_dir: ./docs/html
|
||||||
needs: build
|
force_orphan: true
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
environment:
|
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
steps:
|
|
||||||
- name: Deploy Github Pages
|
|
||||||
uses: actions/deploy-pages@v4
|
|
||||||
id: deployment
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue