Skip to content

Commit a2701b7

Browse files
committed
Try to deploy only of the account number is present
Signed-off-by: Pushkar Gupte <[email protected]>
1 parent e32ae4d commit a2701b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
include:
2929
- stage: test
3030
- stage: deploy to development
31+
if: env(DEV_ACCOUNT_ID) is present
3132
jdk: openjdk8
3233
env:
3334
- CLUSTER_NAME=
@@ -44,6 +45,7 @@ jobs:
4445
on:
4546
branch: master
4647
- stage: deploy to production
48+
if: env(PROD_ACCOUNT_ID) is present
4749
jdk: openjdk8
4850
env:
4951
- CLUSTER_NAME=

0 commit comments

Comments
 (0)