Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Sep 17, 2024
1 parent 5a6a345 commit 621bb43
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: pip install -r requirements.txt
run: npm install

- name: Run tests
run: pytest
- name: Deploy to production
uses: azure/azure-webapps-deploy@v2
with:
app-name: pi-nexus-autonomous-banking-network
package: .
run: npm test

- name: Build and deploy
env:
NODE_ENV: production
run: npm run build && npm run deploy

0 comments on commit 621bb43

Please sign in to comment.