Skip to content

Commit b51a66b

Browse files
committed
Update nextjs.yml
1 parent e0a22d8 commit b51a66b

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1-
# Inspired from https://github.com/actions/starter-workflows/blob/main/pages/nextjs.yml
1+
# Sample workflow for building and deploying a Next.js site to GitHub Pages
2+
#
3+
# To get started with Next.js see: https://nextjs.org/docs/getting-started
4+
#
25
name: GitHub Pages
36

47
on:
8+
# Runs on pushes targeting the default branch
59
push:
6-
branches: main
10+
branches: ["master"]
11+
12+
# Allows you to run this workflow manually from the Actions tab
713
workflow_dispatch:
814

15+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
916
permissions:
1017
contents: read
1118
pages: write
1219
id-token: write
1320

21+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
22+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1423
concurrency:
15-
group: 'pages'
24+
group: "pages"
1625
cancel-in-progress: false
1726

1827
jobs:

0 commit comments

Comments
 (0)