Skip to content

Commit d64362f

Browse files
Merge pull request #19 from StreetSupport/feature/3001-set-up-sentry-error-monitoring-and-logging
Update yml file
2 parents 0d865c5 + 36b4e32 commit d64362f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,22 @@ jobs:
4242
npm install
4343
npm run build --if-present
4444
npm run test --if-present
45-
# To think about reverting this part
46-
# - name: Create dedicated publish folder
47-
# run: |
48-
# mkdir -p publish
49-
# cp -r dist publish/
50-
# cp package.json publish/
51-
# cp package-lock.json publish/
52-
# # To think about reverting this part
53-
# - name: Zip artifact for deployment
54-
# run: (cd publish && zip -r ../release.zip .)
45+
46+
- name: Create dedicated publish folder
47+
run: |
48+
mkdir -p publish
49+
cp -r dist publish/
50+
cp package.json publish/
51+
cp package-lock.json publish/
52+
53+
- name: Zip artifact for deployment
54+
run: (cd publish && zip -r ../release.zip .)
55+
5556
- name: Upload artifact for deployment job
5657
uses: actions/upload-artifact@v4
5758
with:
5859
name: node-app
59-
path: .
60+
path: release.zip
6061

6162
deploy:
6263
runs-on: ubuntu-latest
@@ -86,7 +87,6 @@ jobs:
8687
with:
8788
app-name: ${{ vars.AZURE_APP_NAME }}
8889
# To think about reverting this part
89-
package: .
90-
# package: release.zip
91-
# startup-command: 'npm start'
90+
package: release.zip
91+
startup-command: 'npm start'
9292
clean: true

0 commit comments

Comments
 (0)