From 345043ac369bd43d372ff1a04256a8066f1c43e1 Mon Sep 17 00:00:00 2001 From: Callum Rollo Date: Mon, 18 Nov 2024 10:43:36 +0100 Subject: [PATCH] deploy docs on merge of PR --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c889458..bb817ad 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -48,7 +48,7 @@ jobs: - name: Deploy - if: success() && github.event_name == 'release' + if: success() && github.event.pull_request.merged uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }}