mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-07 17:01:18 +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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: sudo apt-get install doxygen xsltproc
|
run: sudo apt-get install doxygen xsltproc
|
||||||
|
@ -30,9 +32,17 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: cmake --build . --config $BUILD_TYPE --target doxygen
|
run: cmake --build . --config $BUILD_TYPE --target doxygen
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Install SSH Client 🔑
|
||||||
uses: actions/upload-artifact@v2
|
uses: webfactory/ssh-agent@v0.4.1
|
||||||
with:
|
with:
|
||||||
name: api_docs
|
ssh-private-key: ${{ secrets.DEPLOY_API_TOKEN }}
|
||||||
path: ${{runner.workspace}}/build/doc/api/html
|
|
||||||
|
- 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