File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name: Deploy Next.js site to Pages
77on :
88 # Runs on pushes targeting the default branch
99 push :
10- branches : [" main" ]
10+ branches : [' main' ]
1111
1212 # Allows you to run this workflow manually from the Actions tab
1313 workflow_dispatch :
@@ -21,7 +21,7 @@ permissions:
2121# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
2222# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2323concurrency :
24- group : " pages"
24+ group : ' pages'
2525 cancel-in-progress : false
2626
2727jobs :
5151 - name : Setup Node
5252 uses : actions/setup-node@v3
5353 with :
54- node-version : " 16 "
54+ node-version : ' 16 '
5555 cache : ${{ steps.detect-package-manager.outputs.manager }}
5656 - name : Setup Pages
5757 uses : actions/configure-pages@v3
7878 - name : Static HTML export with Next.js
7979 run : ${{ steps.detect-package-manager.outputs.runner }} next export
8080 - name : Upload artifact
81- uses : actions/upload-pages-artifact@v1
81+ uses : actions/upload-pages-artifact@v3
8282 with :
8383 path : ./out
8484
You can’t perform that action at this time.
0 commit comments