Skip to content

Commit

Permalink
Fix condition in build and deployment workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Wade Barnes <[email protected]>
  • Loading branch information
WadeBarnes committed Jul 24, 2023
1 parent 663b8fd commit ac44431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
build:
if: github.repository == 'bcgov/von-bc-regestries-audit' || github.event_name == 'workflow_dispatch'
if: (github.repository == 'bcgov/von-bc-registries-audit') || (github.event_name == 'workflow_dispatch')
name: Build Image
permissions:
packages: write
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
deployment_configuration: ${{ env.APP_NAME }}
openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}
rocketchat_webhook: ${{ secrets.ROCKETCHAT_WEBHOOK }}

deploy2test:
needs: [build, deploy2dev]
env:
Expand Down

0 comments on commit ac44431

Please sign in to comment.