mirror of
				https://github.com/dokku/buildpack-nginx.git
				synced 2025-10-30 11:36:30 +00:00 
			
		
		
		
	feat: always deploy latest on merge to master
This commit is contained in:
		
							
								
								
									
										26
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,26 @@ | ||||
| --- | ||||
| name: 'review-app' | ||||
|  | ||||
| # yamllint disable-line rule:truthy | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|       - main | ||||
|  | ||||
| jobs: | ||||
|   review_app: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Cloning repo | ||||
|         uses: actions/checkout@v2 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|  | ||||
|       - name: Push to dokku | ||||
|         uses: dokku/github-action@master | ||||
|         with: | ||||
|           git_remote_url: 'ssh://dokku@dokku.com/nginx-buildpack' | ||||
|           # specify `--force` as a flag for git pushes | ||||
|           git_push_flags: '--force' | ||||
|           ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | ||||
		Reference in New Issue
	
	Block a user