Skip to content

Commit 5d95a3e

Browse files
committed
Only deploy to /develop if everything else passed
1 parent 0f24950 commit 5d95a3e

1 file changed

Lines changed: 16 additions & 13 deletions

File tree

‎.buildkite/pipeline.yaml‎

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,6 @@ steps:
5252
- docker#v3.0.1:
5353
image: "node:10"
5454

55-
- label: ":hammer: Package"
56-
command:
57-
- "echo '--- Fetching Dependencies'"
58-
- "./scripts/fetch-develop.deps.sh --depth 1"
59-
- "yarn install"
60-
- "echo '+++ Packaging'"
61-
- "./scripts/ci_package.sh"
62-
branches: "develop"
63-
artifact_paths: "dist/riot-*.tar.gz"
64-
plugins:
65-
- docker#v3.0.1:
66-
image: "node:10"
67-
6855
- label: "🌐 i18n"
6956
command:
7057
- "echo '--- Fetching Dependencies'"
@@ -75,3 +62,19 @@ steps:
7562
plugins:
7663
- docker#v3.0.1:
7764
image: "node:10"
65+
66+
- wait: ~ # this wait is to perform deploy to /develop only if all other steps passed
67+
continue_on_failure: false
68+
69+
- label: ":hammer: Package"
70+
command:
71+
- "echo '--- Fetching Dependencies'"
72+
- "./scripts/fetch-develop.deps.sh --depth 1"
73+
- "yarn install"
74+
- "echo '+++ Packaging'"
75+
- "./scripts/ci_package.sh"
76+
branches: "develop"
77+
artifact_paths: "dist/riot-*.tar.gz"
78+
plugins:
79+
- docker#v3.0.1:
80+
image: "node:10"

0 commit comments

Comments
 (0)