Only deploy to /develop if everything else passed
This commit is contained in:
parent
0f24950466
commit
5d95a3ef7e
|
@ -52,19 +52,6 @@ steps:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "node:10"
|
image: "node:10"
|
||||||
|
|
||||||
- label: ":hammer: Package"
|
|
||||||
command:
|
|
||||||
- "echo '--- Fetching Dependencies'"
|
|
||||||
- "./scripts/fetch-develop.deps.sh --depth 1"
|
|
||||||
- "yarn install"
|
|
||||||
- "echo '+++ Packaging'"
|
|
||||||
- "./scripts/ci_package.sh"
|
|
||||||
branches: "develop"
|
|
||||||
artifact_paths: "dist/riot-*.tar.gz"
|
|
||||||
plugins:
|
|
||||||
- docker#v3.0.1:
|
|
||||||
image: "node:10"
|
|
||||||
|
|
||||||
- label: "🌐 i18n"
|
- label: "🌐 i18n"
|
||||||
command:
|
command:
|
||||||
- "echo '--- Fetching Dependencies'"
|
- "echo '--- Fetching Dependencies'"
|
||||||
|
@ -75,3 +62,19 @@ steps:
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "node:10"
|
image: "node:10"
|
||||||
|
|
||||||
|
- wait: ~ # this wait is to perform deploy to /develop only if all other steps passed
|
||||||
|
continue_on_failure: false
|
||||||
|
|
||||||
|
- label: ":hammer: Package"
|
||||||
|
command:
|
||||||
|
- "echo '--- Fetching Dependencies'"
|
||||||
|
- "./scripts/fetch-develop.deps.sh --depth 1"
|
||||||
|
- "yarn install"
|
||||||
|
- "echo '+++ Packaging'"
|
||||||
|
- "./scripts/ci_package.sh"
|
||||||
|
branches: "develop"
|
||||||
|
artifact_paths: "dist/riot-*.tar.gz"
|
||||||
|
plugins:
|
||||||
|
- docker#v3.0.1:
|
||||||
|
image: "node:10"
|
||||||
|
|
Loading…
Reference in New Issue