From d8a8469d8d470b7b9eced01df27034a6f15401ff Mon Sep 17 00:00:00 2001 From: Chase Moskal Date: Sat, 14 Sep 2024 17:22:05 -0700 Subject: [PATCH] fix: bash sourcing, cd --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1d34666..9fe85b0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,7 +45,7 @@ jobs: - name: deploy the director run: | rsync -vhamz --delete --exclude ".git" --exclude "node_modules" -e "ssh -o StrictHostKeyChecking=no" ./ deployer@director.regis.gg:/home/deployer/app/ - ssh -o StrictHostKeyChecking=no deployer@director.regis.gg "cd app && bin/serverside/redeploy" + ssh -o StrictHostKeyChecking=no deployer@director.regis.gg "cd /home/deployer && source .bashrc && cd app && bin/serverside/redeploy" - name: 🌎 download assets env: