From 395fa52962df8362e7e72412aec88de9b107f4e5 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 17 Aug 2023 22:50:20 +0200 Subject: [PATCH] Fixed pipeline --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 765eab0..e4c3b4d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -123,7 +123,7 @@ steps: - name: modify deployed image image: alpine commands: - - sed -i -r "s/(wahlrecht_image_version:).*/\1\ $IMAGE_VERSION/" inventories/host_vars/api-server/public.yaml + - sed -i -r "s/(wahlrecht_image_version:).*/\1\ $IMAGE_VERSION/" ansible/inventories/host_vars/api-server/public.yaml - name: save modified variable file image: alpine/git environment: @@ -136,7 +136,7 @@ steps: - touch $HOME/.ssh/known_hosts - chmod 600 $HOME/.ssh/known_hosts - ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null - - git add inventories/host_vars/api-server/public.yaml + - git add ansible/inventories/host_vars/api-server/public.yaml - git commit -m "[Drone] Changed wahlrecht_image_version to $IMAGE_VERSION" - git push origin main - name: deploy image