From 2fa7c3f1588223662329160e29ba99786b619b60 Mon Sep 17 00:00:00 2001 From: Jeanette Clark Date: Fri, 15 Mar 2024 13:00:32 -0700 Subject: [PATCH] change render portion --- .github/workflows/workflow.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 61585590..87f5c96b 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -109,10 +109,13 @@ jobs: # run: sh _build_quarto.sh - name: Render Quarto training materials - uses: quarto-dev/quarto-actions/render@v2 - with: - to: html - path: ${{ env.REPO }}/materials # build from nceas-training from temp dir + if [[ "${{ env.REPO }}" == "nceas-training" ]]; then + echo "Rendering nceas-training" + quarto render "nceas-training/materials" + elif [[ "${{ env.REPO }}" == "scalable-computing-course" ]]; then + echo "Rendering scalable-computing-course" + quarto render "scalable-computing-course/materials" + fi - name: Move training materials to public/$BRANCH run: |