diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index e4958b3c4e..265ee560cb 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -2,13 +2,13 @@ name: Appsmith Github Release Workflow on: push: - branches: master # Only trigger if a tag has been created and pushed to this branch tags: - - 'v*' + - v* jobs: build-client: + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest defaults: run: @@ -61,6 +61,7 @@ jobs: docker push appsmith/appsmith-editor build-server: + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest defaults: run: @@ -103,6 +104,7 @@ jobs: docker push appsmith/appsmith-server create-release: + if: github.ref == 'refs/heads/master' needs: - build-server - build-client