Skip to content

Commit 44f6a59

Browse files
committed
Fix GitHub Actions deployment workflow and project config
- Rename package from "temp-next" to "jonathanperis.github.io" - Add .nojekyll to public/ so _next/ assets are served correctly by GitHub Pages - Fix deploy job environment URL to use steps.deployment.outputs.page_url - Use npm run build instead of npx next build for consistency https://claude.ai/code/session_01UbiP4Peg6CTE1KsL8Vi5Rx
1 parent 7fc4205 commit 44f6a59

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- name: Install dependencies
3434
run: npm ci
3535

36-
- name: Build with Next.js
37-
run: npx next build
36+
- name: Build
37+
run: npm run build
3838

3939
- name: Upload artifact
4040
uses: actions/upload-pages-artifact@v3
@@ -44,7 +44,7 @@ jobs:
4444
deploy:
4545
environment:
4646
name: github-pages
47-
url: ${{ github.pages.url }}
47+
url: ${{ steps.deployment.outputs.page_url }}
4848
runs-on: ubuntu-latest
4949
needs: build
5050
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "temp-next",
2+
"name": "jonathanperis.github.io",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {

public/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)