Skip to content

Commit 26661fb

Browse files
committed
Simplify build steps
Trying to solve the error where it cannot find the open-next output.
1 parent 324700d commit 26661fb

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ jobs:
8282
with:
8383
issue-number: ${{ github.event.number }}
8484
body: |
85-
🚀 **Preview Deployment**
85+
**Preview Deployment**
8686
87-
**Status:** Deployed successfully
87+
**Status:** Deployed successfully
8888
8989
**Preview URL:** ${{ steps.get-url.outputs.url }}
9090
@@ -129,9 +129,9 @@ jobs:
129129
with:
130130
issue-number: ${{ github.event.number }}
131131
body: |
132-
🚀 **Preview Deployment**
132+
**Preview Deployment**
133133
134-
**Status:** 🗑️ Removed
134+
**Status:** Removed
135135
136136
**Stage:** `pr-${{ github.event.number }}`
137137

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"version": "0.0.1",
44
"description": "Adelfa docs",
55
"scripts": {
6-
"build": "next build",
7-
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind",
6+
"build": "next build && pagefind --site .next/server/app --output-path public/_pagefind",
87
"dev": "next",
98
"start": "next start",
109
"test": "vitest",

sst.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export default $config({
1717
redirects: ["www.adelfa-prover.org"],
1818
}
1919
: undefined,
20-
buildCommand: "NODE_OPTIONS='--max-old-space-size=6144' npm run build",
2120
});
2221
},
2322
});

0 commit comments

Comments
 (0)