再测试doxygen build
Some checks are pending
Check Whitespace and New Line / check (push) Waiting to run
Deploy Doxygen to Pages / build (push) Waiting to run
Deploy Doxygen to Pages / deploy (push) Blocked by required conditions

This commit is contained in:
notify 2024-10-21 14:52:51 +08:00
parent 0233746ead
commit 210ca99d2f

View File

@ -6,7 +6,7 @@ on:
branches: [master]
jobs:
pages:
build:
runs-on: ubuntu-20.04
environment:
name: github-pages
@ -15,15 +15,33 @@ jobs:
pages: write
id-token: write
steps:
- name: Checkout Git Repo
uses: actions/checkout@v3
- id: build
uses: mattnotmitt/doxygen-action@1.9.8
with:
working-directory: './docs/'
doxyfile-path: 'docs/Doxyfile'
working-directory: 'docs/'
doxyfile-path: 'Doxyfile'
- id: deploy
uses: peaceiris/actions-gh-pages@v4
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.MY_TOKEN }}
publish_dir: './docs/build/html'
path: docs/build/html
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4