docs github action badge in README #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | |
- name: Deploy to server | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.SITE_HOST }} | |
username: ${{ secrets.SITE_USER }} | |
key: ${{ secrets.SITE_KEY }} | |
port: ${{ secrets.SITE_PORT }} | |
source: docs/* | |
target: /var/www/html/class/cse125/www/cse125/2024/cse125g3/site/docs/ | |
rm: true | |
strip_components: 1 |