From d16883eaa4e1a40abb99471268138ffe5f59e69b Mon Sep 17 00:00:00 2001 From: masarakki Date: Mon, 19 Jan 2026 16:20:22 +0900 Subject: [PATCH] fix-deploy --- .github/workflows/deploy.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9a4d988..b3e77ff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,13 @@ name: deploy on: - push: - branches: master + pull_request_target: + types: closed +permissions: + id-token: write + contents: read jobs: - build: + deploy: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1