Skip to content

Commit b0dfcd4

Browse files
committed
feat: Add GitHub Actions workflows for Azure Web App deployment for main and cms branches.
1 parent f55f587 commit b0dfcd4

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/cms_cms.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@ jobs:
4646
cp -rL node_modules/styled-jsx .next/standalone/node_modules/
4747
rm -rf .next/standalone/node_modules/@swc
4848
cp -rL node_modules/@swc .next/standalone/node_modules/
49-
cd .next/standalone
50-
tar -hczf ../../release.tar.gz .
49+
50+
mkdir deployment
51+
cp -rL .next/standalone/. deployment/
52+
53+
cd deployment
54+
tar -czf ../release.tar.gz .
5155
5256
- name: Upload artifact for deployment job
5357
uses: actions/upload-artifact@v4

.github/workflows/main_cms.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@ jobs:
4747
cp -rL node_modules/styled-jsx .next/standalone/node_modules/
4848
rm -rf .next/standalone/node_modules/@swc
4949
cp -rL node_modules/@swc .next/standalone/node_modules/
50-
cd .next/standalone
51-
tar -hczf ../../release.tar.gz .
50+
51+
mkdir deployment
52+
cp -rL .next/standalone/. deployment/
53+
54+
cd deployment
55+
tar -czf ../release.tar.gz .
5256
5357
- name: Upload artifact for deployment job
5458
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)