Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet authored Aug 11, 2021
1 parent 1cf6a93 commit 3ee84ab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ global_job_config:

blocks:
- name: Build
skip:
when: "branch = 'gh-pages'"
run:
when: "branch =~ '.*' OR pull_request =~'.*'"
task:
jobs:
- name: Cache Go dependencies
Expand All @@ -45,8 +45,8 @@ blocks:
- cache store traefik-mesh-img-$SEMAPHORE_GIT_BRANCH-$SEMAPHORE_WORKFLOW_ID traefik-mesh-img.tar

- name: Unit Tests
skip:
when: "branch = 'gh-pages'"
run:
when: "branch =~ '.*' OR pull_request =~'.*'"
task:
prologue:
commands:
Expand All @@ -57,8 +57,8 @@ blocks:
- make local-test

- name: Integration Tests
skip:
when: "branch = 'gh-pages'"
run:
when: "branch =~ '.*' OR pull_request =~'.*'"
task:
prologue:
commands:
Expand Down Expand Up @@ -89,7 +89,7 @@ blocks:

env_vars:
- name: SEIHON_VERSION
value: 0.8.3
value: v0.8.3

jobs:
- name: Release
Expand Down

0 comments on commit 3ee84ab

Please sign in to comment.