Skip to content

Commit

Permalink
Fix if condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
JSAssassin committed May 13, 2024
1 parent afd27d6 commit 4a99346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: sonic-connect-deployment
on:
workflow_run:
workflows: [sonic-connect-gh-actions]
branches: [main]
types:
- completed

jobs:
build-and-deploy:
runs-on: ubuntu-latest
needs: sonic-connect-gh-actions
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.repository.default_branch == 'main' }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v4
Expand Down

0 comments on commit 4a99346

Please sign in to comment.