Skip to content

Commit

Permalink
Update deploy_and_Integration_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhutikumar07 authored Sep 12, 2024
1 parent dffdf68 commit 8492d72
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy_and_Integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ name: Deploy and Integration Test

on:
pull_request:
types: [closed]
types: [opened,closed]
branches:
- develop
- Build_Deploy
workflow_dispatch:

permissions:
pull-requests: read

jobs:
deploy:
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == false
runs-on: ubuntu-latest
steps:
- name: Use Node.js 20.x
Expand All @@ -25,7 +25,6 @@ jobs:

- name: Login to Cloud Foundry
run: |
sudo apt-key del 172B5989FCD21EF8
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key \
| sudo tee /etc/apt/trusted.gpg.d/cloudfoundry.asc
echo "deb https://packages.cloudfoundry.org/debian stable main" \
Expand Down

0 comments on commit 8492d72

Please sign in to comment.