From c918cedbf3c620f4487705c27b8d06aad00b96ad Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Thu, 17 Oct 2024 14:01:42 -0600 Subject: [PATCH] ci: only deploy from master Signed-off-by: Carl Pearson --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eedaee1..9706c69 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,6 +39,7 @@ jobs: uses: rlespinasse/git-commit-data-action@v1.x - name: Deploy site + if: github.ref == 'refs/heads/master' uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}