Skip to content

Commit

Permalink
fix(Workflow): Corrected the path to start the app
Browse files Browse the repository at this point in the history
  • Loading branch information
wadhia-yash committed Jul 8, 2024
1 parent aec0310 commit 0b1f20b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/web-app_web-app-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
npm install
npm run build
- name: List build directory contents
run: |
cd commanddash_web_app
ls -la build
- name: Zip artifact for deployment
run: |
cd commanddash_web_app
Expand Down Expand Up @@ -53,6 +58,10 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip -d deploy

- name: List deploy directory contents
run: |
ls -la deploy
- name: Login to Azure
uses: azure/login@v1
with:
Expand All @@ -65,10 +74,14 @@ jobs:
cd deploy
npm install
- name: List deploy/build directory contents
run: |
ls -la deploy/build
- name: Install PM2
run: |
npm install -g pm2
- name: Start SvelteKit App
run: |
pm2 start build/index.js --name sveltekit-app --no-daemon
pm2 start deploy/build/index.js --name sveltekit-app --no-daemon

0 comments on commit 0b1f20b

Please sign in to comment.