another test for calendar
This commit is contained in:
		
							parent
							
								
									d94203aa15
								
							
						
					
					
						commit
						c5a5ae90d0
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								.github/workflows/release.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/release.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -63,7 +63,10 @@ jobs:
 | 
				
			||||||
      - name: Copy calendar to output dir
 | 
					      - name: Copy calendar to output dir
 | 
				
			||||||
        run: cp static/all.ics public/all.ics
 | 
					        run: cp static/all.ics public/all.ics
 | 
				
			||||||
      - name: Update homepage with latest event
 | 
					      - name: Update homepage with latest event
 | 
				
			||||||
        run: upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
 | 
					        run: |
 | 
				
			||||||
 | 
					          upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
 | 
				
			||||||
 | 
					          echo $upcoming
 | 
				
			||||||
 | 
					          cat public/index.html
 | 
				
			||||||
      - uses: actions/upload-artifact@v4
 | 
					      - uses: actions/upload-artifact@v4
 | 
				
			||||||
        name: Upload pages
 | 
					        name: Upload pages
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue