Skip to content

Commit

Permalink
CI: source .bashrc on ssh on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Oct 17, 2023
1 parent f0765ab commit 7bcf528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build_and_deploy.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/build_and_deploy_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3

- name: Recreate Services
- name: SSH Run command
uses: appleboy/ssh-action@master
with:
host: ${{ vars.SERVER_IP }}
Expand All @@ -29,6 +29,8 @@ jobs:
cd /home/ubuntu/Projects/tasking-manager
git pull naxa deployment/naxa
cd /home/ubuntu/Projects/tasking-manager/frontend
source ~/.bashrc
nvm i 16
nvm use 16
npm i -g yarn
yarn install
Expand Down

0 comments on commit 7bcf528

Please sign in to comment.