From 33aa639ec77c2558b8895647bc3e46dc507e7a8d Mon Sep 17 00:00:00 2001 From: Devin Jean Date: Tue, 7 May 2024 12:07:50 -0500 Subject: [PATCH] update publish --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 06f82c1..67b793e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,6 @@ jobs: - uses: actions/upload-pages-artifact@v1 with: path: build - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' - uses: actions/deploy-pages@v2 - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/master' && github.event_name == 'push'