Skip to content

Commit

Permalink
[NS-47] - Testing local server deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Narvane committed Mar 13, 2024
1 parent 11fca59 commit 7fd0b18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7fd0b18

Please sign in to comment.