From 17f51bf16a481269a8365867ca28e87d49cefc14 Mon Sep 17 00:00:00 2001 From: Rohan Sircar <47449547+rohan-sircar@users.noreply.github.com> Date: Fri, 23 Apr 2021 16:29:45 +0530 Subject: [PATCH] Update ci.yaml --- .github/workflows/ci.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 75b8cd0..60246f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,9 +78,7 @@ jobs: publish: name: Publish Release Docker Image needs: [build] - if: | - github.event_name != 'pull_request' && \ - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) + if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) runs-on: ubuntu-latest env: CODEGEN_DB_HOST: localhost