Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tidvn committed Oct 27, 2024
1 parent 65a99ba commit d593e68
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ jobs:
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
source $HOME/.bashrc
cd ${{ secrets.APP_DIRECTORY }}/.next/standalone
echo $PATH >> path.txt
# echo -e "GH_TOKEN=${{ secrets.GH_TOKEN }}\nBASE_URL=${{ secrets.BASE_URL }}" > .env
# bun --bun run pm2 restart htlabs-app || \
# bun --bun run pm2 start --interpreter $BUN_INSTALL/bin/bun server.js --name "htlabs-app"
echo -e "GH_TOKEN=${{ secrets.GH_TOKEN }}\nBASE_URL=${{ secrets.BASE_URL }}" > .env
bun --bun run pm2 restart htlabs-app || \
bun --bun run pm2 start server.js --name "htlabs-app"

0 comments on commit d593e68

Please sign in to comment.