Skip to content

Commit 5b4063b

Browse files
committed
fix(ci): switch back to zip artifact (using flattened source)
1 parent 7a12b2a commit 5b4063b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/cms_cms.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
cp -rL .next/static deployment/.next/static || true
5454
5555
cd deployment
56-
tar -czf ../release.tar.gz .
56+
zip -r ../release.zip .
5757
5858
- name: Upload artifact for deployment job
5959
uses: actions/upload-artifact@v4
6060
with:
6161
name: node-app
62-
path: release.tar.gz
62+
path: release.zip
6363

6464
deploy:
6565
runs-on: ubuntu-latest
@@ -80,5 +80,6 @@ jobs:
8080
with:
8181
app-name: "cms"
8282
slot-name: "Production"
83-
package: release.tar.gz
83+
package: release.zip
8484
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6CBFCF5F964D46BF9BBDEF30B4B76FE1 }}
85+
```

.github/workflows/main_cms.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ jobs:
5454
cp -rL .next/static deployment/.next/static || true
5555
5656
cd deployment
57-
tar -czf ../release.tar.gz .
57+
zip -r ../release.zip .
5858
5959
- name: Upload artifact for deployment job
6060
uses: actions/upload-artifact@v4
6161
with:
6262
name: node-app
63-
path: release.tar.gz
63+
path: release.zip
6464

6565
deploy:
6666
runs-on: ubuntu-latest
@@ -81,5 +81,5 @@ jobs:
8181
with:
8282
app-name: "cms"
8383
slot-name: "Production"
84-
package: release.tar.gz
84+
package: release.zip
8585
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_10465936071D4A7AA627DEB04C65156B }}

0 commit comments

Comments
 (0)