Skip to content

Commit afd5cbd

Browse files
authored
5
1 parent 9bd22b9 commit afd5cbd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/azure-webapps-node.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
"npm": "10.x"
4848
},
4949
"scripts": {
50-
"start": "serve -s . -p $PORT"
50+
"start": "node_modules/.bin/serve -s . -p $PORT"
5151
},
5252
"dependencies": {
5353
"serve": "^14.2.4"
@@ -62,14 +62,14 @@ jobs:
6262
6363
# Verify serve installation
6464
echo "Verifying serve installation:"
65-
ls -la node_modules/.bin/
66-
npx serve --version
65+
ls -la node_modules/.bin/serve
66+
./node_modules/.bin/serve --version
6767
68-
- name: Upload artifact
68+
- name: Upload artifact (contents of dist only)
6969
uses: actions/upload-artifact@v4
7070
with:
7171
name: webapp
72-
path: dist
72+
path: dist/*
7373

7474
deploy:
7575
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)