mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			550 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			550 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Update website
 | |
| 
 | |
| on:
 | |
|   release:
 | |
|     types: 
 | |
|       - published
 | |
|       - deleted
 | |
|       - edited
 | |
| 
 | |
| jobs:
 | |
|   update_website:
 | |
|     runs-on: 'ubuntu-24.04'
 | |
| 
 | |
|     steps:
 | |
|       - name: Update website
 | |
|         run: |
 | |
|           curl --fail-with-body -L \
 | |
|           -X POST \
 | |
|           -H "Accept: application/vnd.github+json" \
 | |
|           -H "Authorization: Bearer ${{ secrets.MIHON_BOT_TOKEN }}" \
 | |
|           -H "X-GitHub-Api-Version: 2022-11-28" \
 | |
|           https://api.github.com/repos/mihonapp/website/dispatches \
 | |
|           -d '{"event_type":"app_release"}'
 |