diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml new file mode 100644 index 0000000..49adf01 --- /dev/null +++ b/.github/workflows/build-website.yml @@ -0,0 +1,25 @@ +name: Build and deploy website + +on: + workflow_call: + secrets: + netlify-token: + required: true + +jobs: + build-deploy: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Quarto + uses: quarto-dev/quarto-actions/setup@v2 + + # add software dependencies here + + - name: Render and publish to Netlify + uses: quarto-dev/quarto-actions/publish@v2 + with: + target: netlify + NETLIFY_AUTH_TOKEN: ${{ secrets.netlify-token }}