From de472b2155fe1daf548976069d16b7bc5c132325 Mon Sep 17 00:00:00 2001 From: "maxime.rocher" Date: Mon, 3 Feb 2025 11:11:36 +0100 Subject: [PATCH] test deploiement 10 --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a098882..1c79139 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,4 +29,13 @@ steps: sleep 2 done - echo "PostgreSQL est prĂȘt !" - - PGPASSWORD="postgres" psql -h postgres -U postgres -d wikifantasy3 -c '\l' \ No newline at end of file + - PGPASSWORD="postgres" psql -h postgres -U postgres -d wikifantasy3 -c '\l' + + - name: get-server-ip + image: alpine + commands: + - apk add --no-cache curl iproute2 + - echo "Adresse IP publique du serveur :" + - curl ifconfig.me + - echo "Adresse IP locale du serveur :" + - ip addr show \ No newline at end of file