0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 15:53:42 +00:00

Switched to different action

This commit is contained in:
Benedikt Galbavy 2024-04-17 10:19:19 +02:00
parent 6f22ffd013
commit 9733a21530

View File

@ -1,8 +1,9 @@
on: on:
push: push:
branches: branches: [ main, documentation ]
- main pull_request:
- documentation branches: [ main ]
permissions: permissions:
contents: write contents: write
@ -12,12 +13,13 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Action Doxygen and GitHub Pages with:
id: ghaction submodules: 'true' # might need recursive, tbd
uses: AgarwalSaurav/ghaction-doxygen-ghpages@v2.0.0 - name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.1.0
# defaults to ./Doxygen
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
doxyfile-path: Doxyfile publish_dir: ./docs/html
working-directory: .
html-output-folder: docs/html
branch: gh-pages