Update ci.yaml

This commit is contained in:
Rohan Sircar 2021-04-23 16:29:45 +05:30 committed by GitHub
parent 66e4d09b1d
commit 17f51bf16a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,9 +78,7 @@ jobs:
publish: publish:
name: Publish Release Docker Image name: Publish Release Docker Image
needs: [build] needs: [build]
if: | if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
github.event_name != 'pull_request' && \
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
CODEGEN_DB_HOST: localhost CODEGEN_DB_HOST: localhost