Merge pull request #3 from aisyui/react-migration-merge
Add pull request merge support to GitHub Actions
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/gh-pages.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/gh-pages.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,10 +4,15 @@ on: | |||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|     - main |     - main | ||||||
|  |   pull_request: | ||||||
|  |     branches: | ||||||
|  |     - main | ||||||
|  |     types: [closed] | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   build-deploy: |   build-deploy: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  |     if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v4 |     - uses: actions/checkout@v4 | ||||||
|       with: |       with: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 syui
					syui