We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f04dd6 commit 4feddadCopy full SHA for 4feddad
1 file changed
.github/workflows/deploy.yml
@@ -38,6 +38,20 @@ jobs:
38
39
- name: Build with Next.js
40
run: npm run build
41
+ env:
42
+ NODE_ENV: production
43
+
44
+ - name: Verify build output
45
+ run: |
46
+ echo "Checking if out directory exists..."
47
+ ls -la
48
+ if [ -d "./out" ]; then
49
+ echo "✓ out directory found"
50
+ ls -la ./out
51
+ else
52
+ echo "✗ out directory not found!"
53
+ exit 1
54
+ fi
55
56
- name: Upload artifact
57
uses: actions/upload-pages-artifact@v3
@@ -46,7 +60,7 @@ jobs:
60
61
deploy:
62
environment:
- name: github_pages
63
+ name: github-pages
64
url: ${{ steps.deployment.outputs.page_url }}
65
runs-on: ubuntu-latest
66
needs: build
0 commit comments