Skip to content

Commit

Permalink
Merge pull request #2 from htlabs-xyz/test-build
Browse files Browse the repository at this point in the history
build
  • Loading branch information
tidvn authored Oct 27, 2024
2 parents 9f6cf96 + 9117a27 commit 0fbff18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd ${{ secrets.APP_DIRECTORY }}/.next/standalone
alias pm2='bun --bun run pm2'
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"
pm2 restart htlabs-app || \
pm2 start server.js --name "htlabs-app"

0 comments on commit 0fbff18

Please sign in to comment.