File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ #
25name : GitHub Pages
36
47on :
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
916permissions :
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.
1423concurrency :
15- group : ' pages'
24+ group : " pages"
1625 cancel-in-progress : false
1726
1827jobs :
You can’t perform that action at this time.
0 commit comments