Skip to content

Commit 0e4ba5b

Browse files
committed
Update yml file
1 parent 4405437 commit 0e4ba5b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,16 @@ jobs:
4343
npm run build --if-present
4444
npm run test --if-present
4545
46+
- name: Create dedicated publish folder
47+
run: |
48+
mkdir -p publish
49+
cp -r dist publish/
50+
cp -r node_modules publish/
51+
cp package.json publish/
52+
cp package-lock.json publish/
53+
4654
- name: Zip artifact for deployment
47-
run: zip -r release.zip . -x "src/*" ".git*" "*.md"
55+
run: (cd publish && zip -r ../release.zip .)
4856

4957
- name: Upload artifact for deployment job
5058
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)