Skip to content

Commit 4feddad

Browse files
committed
fix deploy (hopefully)
1 parent 0f04dd6 commit 4feddad

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ jobs:
3838

3939
- name: Build with Next.js
4040
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
4155
4256
- name: Upload artifact
4357
uses: actions/upload-pages-artifact@v3
@@ -46,7 +60,7 @@ jobs:
4660

4761
deploy:
4862
environment:
49-
name: github_pages
63+
name: github-pages
5064
url: ${{ steps.deployment.outputs.page_url }}
5165
runs-on: ubuntu-latest
5266
needs: build

0 commit comments

Comments
 (0)