From 3ea5040cea7d41836d2d5906f89416753ca3fcf4 Mon Sep 17 00:00:00 2001 From: Amanda L Martin Date: Wed, 6 Mar 2024 17:06:54 -0500 Subject: [PATCH] Create publish_quarto.yml --- .github/workflows/publish_quarto.yml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/publish_quarto.yml diff --git a/.github/workflows/publish_quarto.yml b/.github/workflows/publish_quarto.yml new file mode 100644 index 0000000..4797221 --- /dev/null +++ b/.github/workflows/publish_quarto.yml @@ -0,0 +1,35 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "operations" branch + push: + branches: [ "operations" ] + pull_request: + branches: [ "operations" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +name: Quarto Publish + +jobs: + build-deploy: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Quarto + uses: quarto-dev/quarto-actions/setup@v2 + + - name: Render and Publish + uses: quarto-dev/quarto-actions/publish@v2 + with: + target: gh-pages + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}