Skip to content

Commit

Permalink
Merge pull request #305 from sohosai/CD-fix
Browse files Browse the repository at this point in the history
fix: Update cd.yml
  • Loading branch information
Till0196 authored Apr 25, 2024
2 parents 39bbd0b + 1f0f621 commit f998737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ env:
jobs:
build_and_deploy:
if: |
(github.event_name == 'push' && ((github.head_ref || github.ref_name) != 'main' )) ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
(github.event_name == 'push' && ((github.head_ref || github.ref_name) != 'main' )) ||
github.event.pull_request.merged == true ||
github.event_name == 'workflow_dispatch'
runs-on: [self-hosted, garm]
permissions:
Expand Down

0 comments on commit f998737

Please sign in to comment.