We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59422bd commit 5183318Copy full SHA for 5183318
.github/workflows/build.yml
@@ -0,0 +1,36 @@
1
+name: Build Anokha Site
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - prod_2
7
+ pull_request:
8
9
10
+ workflow_dispatch: # For manual trigger
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
16
+ strategy:
17
+ matrix:
18
+ node-version: [20.10.0]
19
20
+ steps:
21
+ - name: Checkout repository
22
+ uses: actions/checkout@v3
23
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v3
26
+ with:
27
+ node-version: ${{ matrix.node-version }}
28
29
+ - name: Install dependencies
30
+ run: npm install
31
32
+ - name: Build the Next.js app
33
+ run: npm run build
34
35
+ - name: Verify build output
36
+ run: echo "Build completed successfully!"
0 commit comments