Skip to content

Commit

Permalink
change render portion
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Mar 15, 2024
1 parent c87c8c2 commit 2fa7c3f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 2fa7c3f

Please sign in to comment.