Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
lapellaniz committed Feb 26, 2024
1 parent 14bb2b7 commit 14611cc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ol-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ jobs:
steps:
- name: 'Checking out source code ...'
uses: actions/checkout@v3
- name: echo1
run: echo ${{ github.ref }}
- name: echo2
run: echo ${{ github }}
- name: 'Setup .NET Environment'
uses: actions/setup-dotnet@v1
with:
Expand Down Expand Up @@ -93,7 +89,7 @@ jobs:
############################################################################

deployToDev:
if: false # TODO : once dev is ready comment out. # if: github.event_name != 'pull_request' && success() && github.ref == 'refs/features/add-synapse-support'
if: false # TODO : once dev is ready comment out. # if: github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/features/add-synapse-support'
name: "Deploy to Dev"
needs: [build]
runs-on: udf-govern
Expand Down Expand Up @@ -151,7 +147,7 @@ jobs:
deployToTest:
name: "Deploy to Test"
needs: [build] # [deployToDev] # TODO : once dev is ready comment out.
if: github.event_name != 'pull_request' && success() && github.ref == 'refs/head/features/add-synapse-support'
if: github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/features/add-synapse-support'
runs-on: udf-govern-int
environment:
name: int
Expand Down Expand Up @@ -203,7 +199,7 @@ jobs:
deployToPt:
name: "Deploy to PT"
needs: [deployToTest]
if: github.event_name != 'pull_request' && success() && github.ref == 'refs/head/features/add-synapse-support'
if: github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/features/add-synapse-support'
runs-on: udf-govern-pt
environment:
name: "pt"
Expand Down

0 comments on commit 14611cc

Please sign in to comment.