From 8791ff904a485fe7cef3ca3ae59a0bcccba926be Mon Sep 17 00:00:00 2001 From: YOSHIMURA Yuu Date: Fri, 15 Aug 2025 23:29:27 +0900 Subject: [PATCH] =?UTF-8?q?PR=E3=81=AA=E3=82=89=E3=83=87=E3=83=97=E3=83=AD?= =?UTF-8?q?=E3=82=A4=E3=81=AF=E3=81=97=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c03e579..69178a3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,6 +36,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 + if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') with: path: ./public @@ -45,6 +46,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') steps: - name: Deploy to GitHub Pages id: deployment