File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
16
+ concurrency :
17
+ group : " pages"
18
+ cancel-in-progress : false
19
+
8
20
jobs :
9
21
build :
10
-
11
22
runs-on : ubuntu-latest
12
23
13
24
strategy :
@@ -36,19 +47,12 @@ jobs:
36
47
npx next build && npx next export
37
48
touch out/.nojekyll
38
49
# CI: false # true -> fails on warning
39
- # - name: Deploy 🚀
40
- # uses: JamesIves/github-pages-deploy-action@v4
41
- # with:
42
- # token: ${{ secrets.GITHUB_TOKEN }}
43
- # branch: gh-pages # The branch the action should deploy to.
44
- # folder: out # The folder the action should deploy.
45
- # clean: true # Automatically remove deleted files from the deploy branch
46
50
- name : Setup Pages
47
51
uses : actions/configure-pages@v5
48
52
- name : Upload artifact
49
53
uses : actions/upload-pages-artifact@v3
50
54
with :
51
- path : ' out'
55
+ path : " out"
52
56
- name : Deploy to GitHub Pages 🚀
53
57
id : deployment
54
- uses : actions/deploy-pages@v4
58
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments