Skip to content

Commit

Permalink
testing github actions. deployment should fail rn
Browse files Browse the repository at this point in the history
  • Loading branch information
NabilNYMansour committed Sep 1, 2024
1 parent 77975d9 commit 7c57476
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ jobs:
username: ${{ secrets.SSH_USERNAME }}
# Will assume basic setup has been done on the server
script: |
pm2 stop all
cd excalihub
git pull
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
npm i
npm run build
pm2 restart all
pm2 save
exit
exit 1
cd excalihub || exit 1
git pull || exit 1
export NVM_DIR=~/.nvm || exit 1
source ~/.nvm/nvm.sh || exit 1
pm2 stop all || exit 1
npm i || exit 1
npm run build || exit 1
pm2 restart all || exit 1
pm2 save || exit 1
exit 0

0 comments on commit 7c57476

Please sign in to comment.