From d1f0a6e4b529e1ac274c05724cf4c98a4513f721 Mon Sep 17 00:00:00 2001 From: Dmitry Kosolapov home Date: Mon, 5 Dec 2022 14:59:01 +0700 Subject: [PATCH] add consistent deploy --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 610a70ee..4709673f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,7 +35,7 @@ steps: depends_on: - npm-install - - name: deploy script + - name: deploy-prod image: amazon/aws-cli:latest environment: AWS_ACCESS_KEY_ID: @@ -77,6 +77,7 @@ steps: - aws cloudfront create-invalidation --distribution-id EERIKX9X2SRPJ --paths "/*" depends_on: - make-auth + - deploy-prod - name: deploy-old-auth-server image: node:16-alpine @@ -116,6 +117,7 @@ steps: - aws cloudfront create-invalidation --distribution-id E5DKN8IPOMASO --paths "/*" depends_on: - make-india + - deploy-S3-auth - name: make-facr image: node:16-alpine @@ -142,6 +144,7 @@ steps: - aws cloudfront create-invalidation --distribution-id E1ZYJS9RAJO89D --paths "/*" depends_on: - make-facr + - deploy-india - name: make-lff image: node:16-alpine @@ -168,6 +171,7 @@ steps: - aws cloudfront create-invalidation --distribution-id E2127IDW4TEH4S --paths "/*" depends_on: - make-lff + - deploy-facr --- kind: pipeline