Skip to content

Commit bd98c40

Browse files
committed
Update yml
1 parent 0845fee commit bd98c40

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,20 @@ jobs:
4343
npm run build --if-present
4444
npm run test --if-present
4545
# 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 .)
55-
# 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 .)
5655
- name: Upload artifact for deployment job
5756
uses: actions/upload-artifact@v4
5857
with:
5958
name: node-app
60-
path: release.zip
59+
path: .
6160

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

0 commit comments

Comments
 (0)