From 9964b8f20a0782140d8ea614fbd34ecbf9f38736 Mon Sep 17 00:00:00 2001 From: kousuke-nakano <37653569+kousuke-nakano@users.noreply.github.com> Date: Sun, 9 Jun 2024 22:40:27 +0900 Subject: [PATCH] Changed the deployment triger from publish to push/pull-request. --- .github/workflows/website-deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index dc4a1e7..597944e 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -3,11 +3,14 @@ name: sphinx-deploy-gh-pages on: - release: - types: [published] + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: sphinx-build: + if: github.repository == 'sissaschool/turborvb_website' runs-on: ubuntu-latest steps: - name: Install and Setup Python