Skip to content

Commit

Permalink
CI/CD: change deploy job to run only on push to dev or main
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrMitin committed May 26, 2024
1 parent 0764036 commit e67055c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ on:
branches:
- dev
- main
pull_request:
types: [closed]
branches:
- dev
- main

jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true || (github.event_name == 'push' && github.ref == 'refs/heads/dev')


steps:
- name: Execute commands over ssh
Expand Down

0 comments on commit e67055c

Please sign in to comment.