From 853dcc9fb6553ecde622ff98d168bdb0e94ed1dc Mon Sep 17 00:00:00 2001 From: Samuel Calderon Date: Fri, 15 Nov 2024 03:57:52 -0500 Subject: [PATCH] add _quarto.yml and publish action --- .github/workflows/publish.yml | 25 +++++++++++++++++++++++++ .gitignore | 2 ++ _quarto.yml | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 .github/workflows/publish.yml create mode 100644 _quarto.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..e82eb7b --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,25 @@ +on: + workflow_dispatch: + push: + branches: main + +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 }} diff --git a/.gitignore b/.gitignore index 8b2e94c..ff8ffa6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .Rproj.user .Renviron + +/.quarto/ diff --git a/_quarto.yml b/_quarto.yml new file mode 100644 index 0000000..111a50a --- /dev/null +++ b/_quarto.yml @@ -0,0 +1,2 @@ +execute: + freeze: auto