Skip to content

Commit

Permalink
doxygen: gh action deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
atar13 committed Apr 10, 2024
1 parent 5e7a7c9 commit 6b4e048
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docs

on:
push:
branches:
- dev
# NOTE: temporariliy deploying docs on this branch for testing
- chore/doxygen

jobs:
build-and-deploy-docs:
name: Build and Deploy Documentation
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build docs with Doxygen
uses: mattnotmitt/[email protected]
with:
enable-latex: true
- name: Deploy to server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SITE_HOST }}
username: ${{ secrets.SITE_USERNAME }}
key: ${{ secrets.SITE_KEY }}
port: ${{ secrets.SITE_PORT }}
source: docs/*
target: /var/www/html/class/cse125/www/cse125/2024/cse125g3/site/docs

0 comments on commit 6b4e048

Please sign in to comment.