Skip to content

Commit

Permalink
test: workflow cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
aatalrashid committed Jan 10, 2024
1 parent fd0f6d1 commit 97f4370
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/website-staging.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 97f4370

Please sign in to comment.