mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +02:00
Merge pull request #49 from JulianGro/doxygen
Add Doxygen master build and deploy
This commit is contained in:
commit
c836268868
1 changed files with 37 additions and 0 deletions
37
.github/workflows/master_deploy_doxygen.yml
vendored
Normal file
37
.github/workflows/master_deploy_doxygen.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
name: Master Doxygen CI Build and Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_doxygen:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
name: Build and deploy Doxygen documentation
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install doxygen
|
||||||
|
|
||||||
|
- name: Build Doxygen
|
||||||
|
working-directory: tools/doxygen
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir -p ../../build/docs/html
|
||||||
|
doxygen Doxyfile
|
||||||
|
|
||||||
|
- name: Deploy Doxygen
|
||||||
|
uses: SamKirkland/FTP-Deploy-Action@4.3.0
|
||||||
|
with:
|
||||||
|
server: ftp.tuxfamily.org
|
||||||
|
username: ${{ secrets.GHA_JSDOC_FTP_USER }}
|
||||||
|
password: ${{ secrets.GHA_JSDOC_FTP_PASS }}
|
||||||
|
local-dir: ./build/docs/html/
|
||||||
|
server-dir: overte/doxygen.overte.org-web/htdocs/
|
||||||
|
exclude: |
|
||||||
|
**/staging/**
|
Loading…
Reference in a new issue