Merge pull request #178 from anokha-24/docs #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Anokha Site | |
on: | |
push: | |
branches: | |
- prod2 | |
pull_request: | |
branches: | |
- prod2 | |
workflow_dispatch: # For manual trigger | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.10.0] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install --force | |
- name: Build the Next.js app | |
run: npm run build | |
- name: Verify build output | |
run: echo "Build completed successfully!" |