diff --git a/.github/workflows/render.yml b/.github/workflows/render.yml new file mode 100644 index 0000000..a9c8852 --- /dev/null +++ b/.github/workflows/render.yml @@ -0,0 +1,35 @@ +on: + push: + branches: webpage + workflow_dispatch: + + name: Quarto Publish + + jobs: + build-deploy: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Install libcurl on Linux + if: runner.os == 'Linux' + run: sudo apt-get update -y && sudo apt-get install -y libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev + + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Quarto + uses: quarto-dev/quarto-actions/setup@v2 + with: + tinytex: true + + # - name: Install R + # uses: r-lib/actions/setup-r@v2 + + # - name: Install R Dependencies + # uses: r-lib/actions/setup-renv@v2 + + - name: Render and Publish + uses: quarto-dev/quarto-actions/publish@v2 + with: + target: gh-pages \ No newline at end of file