From bbaee21b411d34d29d8fc0fae8c41ee49df69f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sza=C5=82owski?= Date: Fri, 5 Apr 2024 17:09:48 +0200 Subject: [PATCH] bugfix: change dispatch condition on deployment workflows --- .github/workflows/build-and-deploy-staging.yml | 4 +--- .github/workflows/build-and-deploy-test.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-deploy-staging.yml b/.github/workflows/build-and-deploy-staging.yml index 54fb51634..f53352b35 100644 --- a/.github/workflows/build-and-deploy-staging.yml +++ b/.github/workflows/build-and-deploy-staging.yml @@ -2,11 +2,9 @@ name: Build and deploy GovTool to STAGING server run-name: Deploy by @${{ github.actor }} on: - pull_request: + push: branches: - staging - types: - - closed env: ENVIRONMENT: "staging" diff --git a/.github/workflows/build-and-deploy-test.yml b/.github/workflows/build-and-deploy-test.yml index a254023df..8c4a3424c 100644 --- a/.github/workflows/build-and-deploy-test.yml +++ b/.github/workflows/build-and-deploy-test.yml @@ -2,11 +2,9 @@ name: Build and deploy GovTool to TEST server run-name: Deploy by @${{ github.actor }} on: - pull_request: + push: branches: - test - types: - - closed env: ENVIRONMENT: "test"