Skip to content

Commit

Permalink
Merge pull request #57 from vbalalian/ci-cd_improvement
Browse files Browse the repository at this point in the history
only build and push container images on master pull_request merge
  • Loading branch information
vbalalian committed Dec 28, 2023
2 parents 98163c7 + 3a170eb commit 6d389c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: docker-compose -f compose.test.yaml down

deploy:
if: github.event_name == 'push' && github.ref == 'refs/head/master'
needs: build-and-test
runs-on: ubuntu-latest

Expand Down

0 comments on commit 6d389c1

Please sign in to comment.