File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments