From cf16cf8804dad0290f5fd1f01f477033fcc1b8a5 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Thu, 6 Oct 2022 22:52:27 +0530 Subject: [PATCH] found the right ip --- .woodpecker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 99d50d0..a704ffe 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,6 +5,5 @@ pipeline: - mkdir -p ~/.ssh - echo "$PRIVKEY $privkey" > ~/.ssh/id_rsa - chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa - - apt update -y && apt install -y iproute2 && ip a - - ssh websiteupdate@172.19.0.1 -i ~/.ssh/id_rsa "cd /websiteupdate/website && git reset --hard origin/master && git config pull.rebase true && git pull" + - ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_rsa "cd /websiteupdate/website && git reset --hard origin/master && git config pull.rebase true && git pull" secrets: [ privkey ]