From d7becf10968e3f149a718372673e4e91a22f57da Mon Sep 17 00:00:00 2001 From: Lucas EVARD Date: Fri, 25 Nov 2022 18:26:24 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9e3fe46..26fd887 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,8 +60,7 @@ steps: from_secret: db_user CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: from_secret: db_password - commands: - - mysqldump -u db_user -p db_database > Sources/Data/tablewithgeneratedid.sql + - name: web-API image: plugins/docker @@ -92,4 +91,10 @@ steps: from_secret: db_password depends_on: [ web-API, deploy-container-mysql ] - \ No newline at end of file + + + - name: injectsql + commands: + - mysqldump -u db_user -p db_database > Sources/Data/tablewithgeneratedid.sql + + depends_on: [ deploy-container-mysql, deploy-web-container ] \ No newline at end of file