File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+     push :
3+         branches :
4+         - master 
5+ 
6+ permissions :
7+     contents : write 
8+     pull-requests : write 
9+     issues : write 
10+ 
11+ name : " Push to overleaf" 
12+ jobs :
13+     update_sync_overleaf :
14+         runs-on : ubuntu-latest 
15+         name : Update branch 'sync_overleaf' 
16+         steps :
17+         - uses : actions/checkout@v4 
18+           with :
19+             fetch-depth : ' 0' 
20+         - name : Push to overleaf 
21+           run : | 
22+             git remote add origin_token https://git:${GITHUB_TOKEN}@github.com/columnflow/demo_docs.git 
23+ 
24+             git push --rebase origin_token HEAD:sync_overleaf 
25+ 
26+      update_overleaf :
27+         runs-on : ubuntu-latest 
28+         name : Update overleaf 
29+         steps :
30+         - uses : actions/checkout@v4 
31+           with :
32+             ref : sync_overleaf 
33+             fetch-depth : ' 0' 
34+         - name : Push to overleaf 
35+           run : | 
36+             git remote add overleaf https://git:${OVERLEAF_TOKEN}@git.overleaf.com/65df171af9ff7989580f017d 
37+ 
38+             git push --rebase overleaf HEAD:master 
39+ 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments