From 0b00e1736d2b7e9f7aa227fa7c9c7912f246e785 Mon Sep 17 00:00:00 2001 From: Aleksandr Abramenko Date: Mon, 8 Apr 2024 11:42:11 +0700 Subject: [PATCH] load NVM from ~/.bash_profile --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b54c3ea..416cedc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,6 +15,7 @@ jobs: - name: Deploy to webserver run: | ssh -o StrictHostKeyChecking=no ${{ secrets.HOST_USERNAME }}@${{ secrets.HOST_IP }} " + source ~/.bash_profile cd /home/website/crmn.to git fetch && git reset --hard origin/master nvm install 20