File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ #  This is a basic workflow to help you get started with Actions
2+ 
3+ name : CI 
4+ 
5+ #  Controls when the workflow will run
6+ on :
7+   #  Triggers the workflow on push or pull request events but only for the "dev" branch
8+   push :
9+     branches : [ "dev" ] 
10+   pull_request :
11+     branches : [ "dev" ] 
12+ 
13+   #  Allows you to run this workflow manually from the Actions tab
14+   workflow_dispatch :
15+ 
16+ #  A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+ jobs :
18+   build :
19+     name : Build llm-d website 
20+     runs-on : ubuntu-latest 
21+     steps :
22+       - uses : actions/checkout@v4 
23+         with :
24+           fetch-depth : 0 
25+       - uses : actions/setup-node@v4 
26+         with :
27+           node-version : 18 
28+           cache : npm 
29+ 
30+       - name : Install dependencies 
31+         run : npm install 
32+       - name : Build website 
33+         run : npm run build 
34+ 
35+       - name : Upload Build Artifact 
36+         uses : actions/upload-pages-artifact@v3 
37+         with :
38+           path : build 
39+ 
40+   deploy :
41+     name : Deploy to GitHub Pages 
42+     needs : build 
43+ 
44+     #  Grant GITHUB_TOKEN the permissions required to make a Pages deployment
45+     permissions :
46+       pages : write  #  to deploy to Pages
47+       id-token : write  #  to verify the deployment originates from an appropriate source
48+ 
49+     #  Deploy to the github-pages environment
50+     environment :
51+       name : github-pages 
52+       url : ${{ steps.deployment.outputs.page_url }} 
53+ 
54+     runs-on : ubuntu-latest 
55+     steps :
56+       - name : Deploy to GitHub Pages 
57+         id : deployment 
58+         uses : actions/deploy-pages@v4 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments