mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Update website when a new version is released (#1818)
This commit is contained in:
		
							
								
								
									
										10
									
								
								.github/workflows/build_push.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/build_push.yml
									
									
									
									
										vendored
									
									
								
							@@ -122,3 +122,13 @@ jobs:
 | 
			
		||||
          prerelease: false
 | 
			
		||||
        env:
 | 
			
		||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: Update website
 | 
			
		||||
        run: |
 | 
			
		||||
          curl -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/mihon/website/dispatches \
 | 
			
		||||
          -d '{"event_type":"app_release"}'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user