From 5c2e4367b906b6b88d5c1f68e8f63ce1c08f81e6 Mon Sep 17 00:00:00 2001 From: Stephen Robinson Date: Thu, 12 Dec 2024 14:49:50 +0000 Subject: [PATCH] Fix deployment to GitHub Pages on workflow dispatch (#7) --- .github/workflows/gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index aef0e76..048fef2 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -39,7 +39,7 @@ jobs: run: echo 'composer.talis.io' > dist/CNAME - name: Deploy to GitHub Pages - if: ${{ success() && github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ success() && github.ref == 'refs/heads/main' }} uses: crazy-max/ghaction-github-pages@v4 with: target_branch: gh-pages