crap shoot build
This commit is contained in:
		
							
								
								
									
										21
									
								
								.gitea/workflows/hugo_build.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.gitea/workflows/hugo_build.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					name: Build Hugo Site
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is building The Satellite of Love
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    runs-on: docker
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Install Hugo
 | 
				
			||||||
 | 
					        uses: peaceiris/actions-hugo@v2
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          hugo-version: '0.105.0'
 | 
				
			||||||
 | 
					          extended: true
 | 
				
			||||||
 | 
					      - name: Build
 | 
				
			||||||
 | 
					        run: hugo
 | 
				
			||||||
 | 
					      - name: Deploy
 | 
				
			||||||
 | 
					        uses: peaceiris/actions-gh-pages@v3
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          github_token: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
					          publish_dir: ./public
 | 
				
			||||||
		Reference in New Issue
	
	Block a user