AnalogTapeModel

Physical modelling signal processing for analog tape recording
Log | Files | Refs | Submodules | README | LICENSE

commit b2f3586d89c75b6dffcef8e392937e23c179768b
parent 4df4701c8c132f1b7ccfbc9c4f9a682c208a51b9
Author: jatinchowdhury18 <jatinchowdhury18@gmail.com>
Date:   Fri, 26 Feb 2021 13:34:25 -0800

Add workflows for manual updates and PR labeler (#146)

* Add workflows for manual updates and PR labeler

* Fix manual directory path

* Don't deploy manual on PRs
Diffstat:
A.github/labeler.yml | 22++++++++++++++++++++++
A.github/workflows/labeler.yml | 12++++++++++++
A.github/workflows/manual.yml | 39+++++++++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/.github/labeler.yml b/.github/labeler.yml @@ -0,0 +1,22 @@ +# labeler.yml: +# Assign labels to pull requests that change various files +# For more information, see https://github.com/actions/labeler + +dsp: + - Plugin/Source/Processors/**/* + +gui: + - Plugin/Source/GUI/**/* + +presets: + - - Plugin/Source/Presets/**/* + +documentation: + - Manual/**/* + - README.md + +ci-pipeline: + - .github/workflows/* + +installers: + - Plugin/Installers/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" + +on: +- pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@main + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml @@ -0,0 +1,39 @@ +name: manual + +on: + push: + branches: + - master + - develop + paths: + - 'Manual/**' + + workflow_dispatch: + +jobs: + build_and_test: + name: Build and deploy manual + runs-on: ubuntu-latest + + steps: + - name: Install Linux Deps + run: sudo apt install texlive-xetex + + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: false + + - name: Build manual + working-directory: ${{github.workspace}}/Manual + run: make + + - name: Deploy manual + uses: appleboy/scp-action@master + with: + host: ccrma-gate.stanford.edu + username: jatin + password: ${{ secrets.CCRMA_PASS }} + source: "Manual/ChowTapeManual.pdf" + target: "~/Library/Web/chowdsp/Products" + strip_components: 1