Skip to content

Commit

Permalink
ci(render): add workflow to render and upload artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <[email protected]>
  • Loading branch information
cameronraysmith committed Jul 16, 2024
1 parent f9b5679 commit 47470ab
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, labeled, reopened]

name: Render

defaults:
run:
shell: bash

jobs:
render:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
with:
tinytex: true
- name: Render
run: |
make render
- name: Upload artifacts
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
name: quarto-output-${{ github.ref_name }}-${{ github.sha }}
path: "${{ github.workspace }}/template.*"

0 comments on commit 47470ab

Please sign in to comment.