-
Notifications
You must be signed in to change notification settings - Fork 24
42 lines (34 loc) · 1.09 KB
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Docs
on:
release:
types: [published]
workflow_dispatch:
env:
WORK_DIR: ${{github.workspace}}/JUCE_modules/chowdsp_utils
jobs:
build_and_test:
if: contains(toJson(github.event.commits), '***NO_CI***') == false && contains(toJson(github.event.commits), '[ci skip]') == false && contains(toJson(github.event.commits), '[skip ci]') == false
name: Make and deploy docs
runs-on: ubuntu-latest
steps:
- name: Install Linux Deps
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt install doxygen graphviz
- name: Checkout code
uses: actions/checkout@v2
with:
path: ${{env.WORK_DIR}}
- name: Make Docs
working-directory: ${{env.WORK_DIR}}/doxygen
run: make
- name: Deploy docs
if: ${{ github.event_name != 'pull_request' }}
uses: garygrossgarten/github-action-scp@release
with:
local: ${{env.WORK_DIR}}/docs
remote: Library/Web/chowdsp/chowdsp_utils
host: ccrma-gate.stanford.edu
username: jatin
password: ${{ secrets.CCRMA_PASS }}