From c6d701c73172e31e6132a024eee60524554b7150 Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Tue, 17 Dec 2024 09:12:16 -0700 Subject: [PATCH] Update docs deploy action. --- .github/workflows/docs.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ad608dfd9d..dd30697bb5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -53,10 +53,10 @@ jobs: cat build-output-warnings.txt exit $(tail -n 1 build-output-warnings.txt | awk '{print $2}') - name: Deploy - if: github.event_name == 'push' - uses: JamesIves/github-pages-deploy-action@releases/v3 + if: github.event_name == 'push' && github.ref == 'refs/heads/main' + uses: JamesIves/github-pages-deploy-action@releases/v4 with: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - BRANCH: gh-pages - FOLDER: documentation - SINGLE_COMMIT: true + token: ${{secrets.GITHUB_TOKEN}} + branch: gh-pages + folder: documentation + single-commit: true