Skip to content

Commit 5e1ee5a

Browse files
committed
"Update Next.js GitHub Actions workflow to include gh-pages publish branch"
This commit updates the `.github/workflows/nextjs.yml` file for the Next.js GitHub Actions
1 parent 6c52ff4 commit 5e1ee5a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/nextjs.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ jobs:
5151
- name: Setup Pages
5252
uses: actions/configure-pages@v2
5353
with:
54-
# Automatically inject basePath in your Next.js configuration file and disable
55-
# server-side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
56-
#
57-
# You may remove this line if you want to manage the configuration yourself.
5854
static_site_generator: next
5955
- name: Restore cache
6056
uses: actions/cache@v2
@@ -93,3 +89,4 @@ jobs:
9389
with:
9490
github_token: ${{ secrets.GITHUB_TOKEN }}
9591
publish_dir: ./out
92+
publish_branch: gh-pages

0 commit comments

Comments
 (0)