Skip to content

Commit e2a94fa

Browse files
Merge pull request #14 from StreetSupport/feature/3001-set-up-sentry-error-monitoring-and-logging
Update yml file
2 parents a49b34d + 0e4ba5b commit e2a94fa

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)