Skip to content

Commit 87998f1

Browse files
Update test_codepush-csh.yml
1 parent 2ab0469 commit 87998f1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/test_codepush-csh.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
npm run test --if-present
3030
3131
- name: Zip artifact for deployment
32-
run: zip release.zip ./* -r
32+
run: |
33+
cd api
34+
zip -r ../release.zip .
3335
3436
- name: Upload artifact for deployment job
3537
uses: actions/upload-artifact@v4
@@ -53,8 +55,8 @@ jobs:
5355
name: node-app
5456

5557
- name: Unzip artifact for deployment
56-
run: unzip release.zip
57-
58+
run: unzip release.zip -d app
59+
5860
- name: Login to Azure
5961
uses: azure/login@v2
6062
with:
@@ -68,5 +70,4 @@ jobs:
6870
with:
6971
app-name: 'codepush-csh'
7072
slot-name: 'Production'
71-
package: .
72-
73+
package: ./app

0 commit comments

Comments
 (0)