From 97f437083aea926533aa33bcad3e41a49750fb0e Mon Sep 17 00:00:00 2001 From: TrevorNathan Date: Wed, 10 Jan 2024 17:30:03 +0300 Subject: [PATCH] test: workflow cicd --- .github/workflows/test.yml | 6 ++---- .github/workflows/website-staging.yml | 17 ++++++----------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5333e72..a5096cee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,8 @@ name: Test on Pull Request & Push on: - push: - branches: ["test-cicd"] - #pull_request: - # types: [opened, synchronize] + pull_request: + types: [opened, synchronize] jobs: build: diff --git a/.github/workflows/website-staging.yml b/.github/workflows/website-staging.yml index 9a0b8801..38423851 100644 --- a/.github/workflows/website-staging.yml +++ b/.github/workflows/website-staging.yml @@ -1,17 +1,12 @@ name: Website test Stagging to Cloud Run on: - workflow_run: - workflows: ["Test on Pull Request & Push"] - types: - - completed - - # push: - # branches: ['develop', 'test-cicd'] - # # check which application has been changed - # paths: - # - 'apps/website/**' - # - '.github/workflows/website-staging.yml' + push: + branches: ['test-cicd'] + # check which application has been changed + paths: + - 'apps/website/**' + - '.github/workflows/website-staging.yml' env: