Skip to content

Commit

Permalink
Added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
huziibee committed Jan 8, 2024
1 parent ae239ef commit 7f767d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lightsail-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
port: 22 # Default SSH port; change it if yours is different
script: |
cd /opt/bitnami/apache2/htdocs
git pull origin main
npm install --production
sudo rm -r *
sudo git clone https://github.com/huziibee/aws-b-app-1.git
npm install
pm2 restart server.js

0 comments on commit 7f767d2

Please sign in to comment.