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 55    branches :
66      - main 
77
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+ 
820jobs :
921  build :
10- 
1122    runs-on : ubuntu-latest 
1223
1324    strategy :
@@ -36,19 +47,12 @@ jobs:
3647          npx next build && npx next export 
3748          touch out/.nojekyll 
3849         #      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
4650      - name : Setup Pages 
4751        uses : actions/configure-pages@v5 
4852      - name : Upload artifact 
4953        uses : actions/upload-pages-artifact@v3 
5054        with :
51-           path : ' out' 
55+           path : " out" 
5256      - name : Deploy to GitHub Pages 🚀 
5357        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