mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
再测试doxygen build
This commit is contained in:
parent
0233746ead
commit
210ca99d2f
32
.github/workflows/sphinx.yml
vendored
32
.github/workflows/sphinx.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pages:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
|
@ -15,15 +15,33 @@ jobs:
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout Git Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- id: build
|
- id: build
|
||||||
uses: mattnotmitt/doxygen-action@1.9.8
|
uses: mattnotmitt/doxygen-action@1.9.8
|
||||||
with:
|
with:
|
||||||
working-directory: './docs/'
|
working-directory: 'docs/'
|
||||||
doxyfile-path: 'docs/Doxyfile'
|
doxyfile-path: 'Doxyfile'
|
||||||
|
|
||||||
- id: deploy
|
- name: Upload static files as artifact
|
||||||
uses: peaceiris/actions-gh-pages@v4
|
id: deployment
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.MY_TOKEN }}
|
path: docs/build/html
|
||||||
publish_dir: './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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user