Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gensart-ai committed Feb 18, 2024
2 parents 0799e88 + e9b5ea3 commit 8651133
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ name: Deploy Node to Production Server
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'CODE_OF_CONDUCT.md'
- 'LICENSE'
- 'SECURITY.md'
- 'SUPPORT.md'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -27,6 +33,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd ~/production_space/whatsapp-bot
git reset --hard
git clean -df
git pull origin main
npm i
npm run build
Expand Down

0 comments on commit 8651133

Please sign in to comment.