Skip to content

Commit bd3529d

Browse files
refactor(github): deploy and publish on successful tests only
1 parent 67f062d commit bd3529d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_commit: v0.15.19-3-g3bf865b
1+
_commit: v0.15.19-4-g100dd42
22
_src_path: .
33
attestations_enabled: true
44
author_email: helmuthva@gmail.com

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# Vercel preview deployment - runs on all branches and PRs
4848
vercel_preview:
4949

50-
needs: [test, codeql]
50+
needs: [test]
5151

5252
if: (!contains(github.event.head_commit.message, '[skip ci]'))
5353
uses: ./.github/workflows/_vercel-preview.yml

template/.github/workflows/ci-cd.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
# Vercel preview deployment - runs on all branches and PRs
5252
vercel_preview:
5353
{% if codeql_enabled %}
54-
needs: [test, codeql]
54+
needs: [test]
5555
{% else %}
56-
needs: test
56+
needs: [test]
5757
{% endif %}
5858
if: (!contains(github.event.head_commit.message, '[skip ci]'))
5959
uses: ./.github/workflows/{% if vercel_function_enabled %}_vercel-preview.yml{% endif %}

0 commit comments

Comments
 (0)