mirror of
				https://github.com/mmahdium/TBW.git
				synced 2025-11-04 04:28:13 +01:00 
			
		
		
		
	Fix 404 erro on github pages
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							@@ -32,6 +32,9 @@ jobs:
 | 
			
		||||
      - name: Build project
 | 
			
		||||
        run: DEPLOY_ENV=GH_PAGES pnpm build
 | 
			
		||||
 | 
			
		||||
      - name: Copy index.html to 404.html
 | 
			
		||||
        run: cp dist/index.html dist/404.html
 | 
			
		||||
 | 
			
		||||
      - name: Deploy to GitHub Pages
 | 
			
		||||
        if: github.event_name == 'push' && github.ref == 'refs/heads/main'
 | 
			
		||||
        uses: peaceiris/actions-gh-pages@v4
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user