mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Update API doc build to upload to GH pages
This commit is contained in:
parent
9cd0fbdbf8
commit
9f853e7d53
1 changed files with 15 additions and 5 deletions
20
.github/workflows/api_doc_build.yml
vendored
20
.github/workflows/api_doc_build.yml
vendored
|
@ -14,6 +14,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Dependencies
|
||||
run: sudo apt-get install doxygen xsltproc
|
||||
|
@ -30,9 +32,17 @@ jobs:
|
|||
shell: bash
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: cmake --build . --config $BUILD_TYPE --target doxygen
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Install SSH Client 🔑
|
||||
uses: webfactory/ssh-agent@v0.4.1
|
||||
with:
|
||||
name: api_docs
|
||||
path: ${{runner.workspace}}/build/doc/api/html
|
||||
ssh-private-key: ${{ secrets.DEPLOY_API_TOKEN }}
|
||||
|
||||
- name: Publish API Docs to GH Pages
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
FOLDER: ${{runner.workspace}}/build/doc/api/html/~
|
||||
REPOSITORY_NAME: FluidSynth/fluidsynth.github.io
|
||||
BRANCH: main
|
||||
TARGET_FOLDER: api/
|
||||
SSH: true
|
||||
|
|
Loading…
Reference in a new issue