From 7fd0b18825c6731e5a88f71cfae4eba29e00c9ed Mon Sep 17 00:00:00 2001 From: Gustavo Date: Wed, 13 Mar 2024 07:21:51 -0300 Subject: [PATCH] [NS-47] - Testing local server deploy --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77af6ae..a955fae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,12 +43,12 @@ jobs: - name: SSH into Server and deploy run: | sshpass -p ${{ secrets.SERVER_PASSWORD }} ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }} ' - cd /my-routine/my-storage/k8s && - rm -rf /my-storage/k8s && + cd my-routine/my-storage/k8s && + rm -rf my-storage/k8s && git clone https://github.com/Narvane/my-storage.git k8s && cd k8s && git config core.sparseCheckout true && - echo "/my-routine/my-storage/k8s/*" >> .git/info/sparse-checkout && + echo "my-routine/my-storage/k8s/*" >> .git/info/sparse-checkout && git pull origin master ' # publish: