Skip to content

Commit 83cd6b7

Browse files
committed
fixes
1 parent dd08e08 commit 83cd6b7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/preproductionDeployment.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,24 @@ jobs:
2525
with:
2626
submodules: true
2727

28-
# Step 2: Set up Node.js (Adjust version as needed)
28+
# Step 2: Set up Node.js
2929
- name: Setup Node.js
3030
uses: actions/setup-node@v3
3131
with:
3232
node-version: '18.18'
3333

34+
# Step 3: Install pnpm
3435
- name: Install pnpm
3536
run: npm install -g pnpm
3637

37-
# Step 3: Install Dependencies
38-
- name: Install Dependencies
38+
# Step 4: Use pnpm for workspace setup and build
39+
- name: Install and Build with pnpm
3940
run: |
4041
cd docs
41-
pnpm i --frozen-lockfile
42+
pnpm install --frozen-lockfile
4243
pnpm run build
4344
44-
# Step 4: Deploy to Azure Static Web Apps (Preprod)
45+
# Step 5: Deploy to Azure Static Web Apps (Preprod)
4546
- name: Deploy to Azure Static Web Apps (Preprod)
4647
id: deploy
4748
uses: Azure/static-web-apps-deploy@v1
@@ -54,7 +55,7 @@ jobs:
5455
app_artifact_location: ${{ env.APP_ARTIFACT_LOCATION }}
5556
deployment_environment: "staging"
5657

57-
# Step 5: Post Deployment Feedback (Optional)
58+
# Step 6: Post Deployment Feedback (Optional)
5859
- name: Post Deployment URL as PR Comment
5960
if: success()
6061
uses: actions/github-script@v6

0 commit comments

Comments
 (0)