diff --git a/.drone.yml b/.drone.yml index 2dfdc99..440d484 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,8 +60,6 @@ steps: from_secret: db_user CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: from_secret: db_password - commands: - - mysql -u db_user -p db_database > Sources/Data/tablewithgeneratedid.sql - name: web-API @@ -76,6 +74,7 @@ steps: password: from_secret: secret-registry-password + - name: deploy-web-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: @@ -91,4 +90,6 @@ steps: from_secret: db_user CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: from_secret: db_password + commands: + - mysql -u db_user -p db_database > Sources/Data/tablewithgeneratedid.sql depends_on: [ web-API, deploy-container-mysql ] \ No newline at end of file