From 2bd16fb41de99f6f194c7859cf7544856695e46c Mon Sep 17 00:00:00 2001 From: jhudsl-robot Date: Fri, 6 Jun 2025 21:05:34 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'.github/wo?= =?UTF-8?q?rkflows/'=20with=20remote=20'.github/workflows/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-renderActionTry2 --- .github/workflows/check-url.yml | 2 +- .github/workflows/render-all.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-url.yml b/.github/workflows/check-url.yml index 9777d6b..7c1326c 100644 --- a/.github/workflows/check-url.yml +++ b/.github/workflows/check-url.yml @@ -80,7 +80,7 @@ jobs: echo ${{ steps.check-report.outputs.error_num }} # Commit file - - name: Commit tocless bookdown files + - name: Commit spell check file if: ${{ steps.check-report.outputs.error_num >= 1 }} env: GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index bbd5da9..344b523 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -35,8 +35,6 @@ jobs: name: Render website needs: yaml-check runs-on: ubuntu-latest - container: - image: ${{needs.yaml-check.outputs.rendering_docker_image}} steps: - name: checkout @@ -52,3 +50,4 @@ jobs: toggle_website: ${{needs.yaml-check.outputs.toggle_website}} preview: false token: ${{ secrets.GH_PAT }} + docker_image: ${{needs.yaml-check.outputs.rendering_docker_image}} From b716d8b61b02cfc0c6fedcd976ef670e6f5060e2 Mon Sep 17 00:00:00 2001 From: jhudsl-robot Date: Fri, 6 Jun 2025 21:05:34 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=84=20Created=20local=20'.github/w?= =?UTF-8?q?orkflows/render-site.yml'=20from=20remote=20'.github/workflows/?= =?UTF-8?q?render-all.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-renderActionTry2 --- .github/workflows/render-site.yml | 53 +++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/render-site.yml diff --git a/.github/workflows/render-site.yml b/.github/workflows/render-site.yml new file mode 100644 index 0000000..344b523 --- /dev/null +++ b/.github/workflows/render-site.yml @@ -0,0 +1,53 @@ +# Candace Savonen 2021 +# Updated April 2025 + +name: Render website + +on: + workflow_dispatch: + push: + branches: [ main, staging ] + paths: + - '*.qmd' + - '*.Rmd' + - assets/* + - quizzes/* + +jobs: + + yaml-check: + name: Load user automation choices + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + # Use the yaml-env-action action. + - name: Load environment from YAML + uses: doughepi/yaml-env-action@v1.0.0 + with: + files: config_automation.yml # Pass a space-separated list of configuration files. Rightmost files take precedence. + outputs: + toggle_website: "${{ env.RENDER_WEBSITE }}" + rendering_docker_image: "${{ env.RENDERING_DOCKER_IMAGE }}" + + render-website: + name: Render website + needs: yaml-check + runs-on: ubuntu-latest + + steps: + - name: checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + token: ${{ secrets.GH_PAT }} + + - name: Run render + id: render + uses: ottrproject/ottr-preview@main + with: + toggle_website: ${{needs.yaml-check.outputs.toggle_website}} + preview: false + token: ${{ secrets.GH_PAT }} + docker_image: ${{needs.yaml-check.outputs.rendering_docker_image}} From c9d91c0405051530e668de2f404665b6f5a4e229 Mon Sep 17 00:00:00 2001 From: Kate Isaac <41767733+kweav@users.noreply.github.com> Date: Fri, 6 Jun 2025 17:11:41 -0400 Subject: [PATCH 3/3] Delete .github/workflows/render-site.yml Don't need this file --- .github/workflows/render-site.yml | 53 ------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/render-site.yml diff --git a/.github/workflows/render-site.yml b/.github/workflows/render-site.yml deleted file mode 100644 index 344b523..0000000 --- a/.github/workflows/render-site.yml +++ /dev/null @@ -1,53 +0,0 @@ -# Candace Savonen 2021 -# Updated April 2025 - -name: Render website - -on: - workflow_dispatch: - push: - branches: [ main, staging ] - paths: - - '*.qmd' - - '*.Rmd' - - assets/* - - quizzes/* - -jobs: - - yaml-check: - name: Load user automation choices - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - # Use the yaml-env-action action. - - name: Load environment from YAML - uses: doughepi/yaml-env-action@v1.0.0 - with: - files: config_automation.yml # Pass a space-separated list of configuration files. Rightmost files take precedence. - outputs: - toggle_website: "${{ env.RENDER_WEBSITE }}" - rendering_docker_image: "${{ env.RENDERING_DOCKER_IMAGE }}" - - render-website: - name: Render website - needs: yaml-check - runs-on: ubuntu-latest - - steps: - - name: checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GH_PAT }} - - - name: Run render - id: render - uses: ottrproject/ottr-preview@main - with: - toggle_website: ${{needs.yaml-check.outputs.toggle_website}} - preview: false - token: ${{ secrets.GH_PAT }} - docker_image: ${{needs.yaml-check.outputs.rendering_docker_image}}