From c0ff8417251a5b1a1a116e74de2c66176a9ec928 Mon Sep 17 00:00:00 2001 From: Richard Willis Date: Tue, 26 Jan 2021 19:51:16 +0000 Subject: [PATCH 1/3] Bump version --- html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.html b/html/index.html index a2dc66b..a25b858 100644 --- a/html/index.html +++ b/html/index.html @@ -7,6 +7,6 @@

github-actions-demo-app

-

Version: 1

+

Version: 3

From c3e09e2786ffa1eca8b35b38451c62e06cd8557c Mon Sep 17 00:00:00 2001 From: Richard Willis Date: Tue, 26 Jan 2021 20:05:54 +0000 Subject: [PATCH 2/3] Update workflow --- .github/workflows/review-app.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index 0f7b110..8e46cd2 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -25,7 +25,6 @@ jobs: route: POST /repos/:repository/deployments repository: ${{ github.repository }} ref: ${{ github.event.pull_request.head.ref }} - environment: review required_contexts: '[]' production_environment: true auto_merge: false @@ -38,7 +37,7 @@ jobs: route: POST /repos/:repository/deployments/:deployment/statuses repository: ${{ github.repository }} deployment: ${{ fromJson(steps.create_deployment.outputs.data).id }} - environment: review + production_environment: true environment_url: http://github-actions-demo-app-${{ github.event.pull_request.number }}.dokku.proxima-web.com log_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} state: in_progress @@ -65,7 +64,6 @@ jobs: route: POST /repos/:repository/deployments/:deployment/statuses repository: ${{ github.repository }} deployment: ${{ fromJson(steps.create_deployment.outputs.data).id }} - environment: review environment_url: http://github-actions-demo-app-${{ github.event.pull_request.number }}.dokku.proxima-web.com log_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} mediaType: '{"previews": ["ant-man"]}' @@ -82,7 +80,6 @@ jobs: route: POST /repos/:repository/deployments/:deployment/statuses repository: ${{ github.repository }} deployment: ${{ fromJson(steps.create_deployment.outputs.data).id }} - environment: review environment_url: http://github-actions-demo-app-${{ github.event.pull_request.number }}.dokku.proxima-web.com log_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} mediaType: '{"previews": ["ant-man"]}' From a95eea570327def10320714438bf05ce7d12e89a Mon Sep 17 00:00:00 2001 From: Richard Willis Date: Tue, 26 Jan 2021 20:07:59 +0000 Subject: [PATCH 3/3] Update workflows --- .github/workflows/review-app.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index 8e46cd2..3a58e56 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -25,6 +25,7 @@ jobs: route: POST /repos/:repository/deployments repository: ${{ github.repository }} ref: ${{ github.event.pull_request.head.ref }} + environment: review required_contexts: '[]' production_environment: true auto_merge: false @@ -38,6 +39,7 @@ jobs: repository: ${{ github.repository }} deployment: ${{ fromJson(steps.create_deployment.outputs.data).id }} production_environment: true + environment: review environment_url: http://github-actions-demo-app-${{ github.event.pull_request.number }}.dokku.proxima-web.com log_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} state: in_progress @@ -64,6 +66,8 @@ jobs: route: POST /repos/:repository/deployments/:deployment/statuses repository: ${{ github.repository }} deployment: ${{ fromJson(steps.create_deployment.outputs.data).id }} + production_environment: true + environment: review environment_url: http://github-actions-demo-app-${{ github.event.pull_request.number }}.dokku.proxima-web.com log_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} mediaType: '{"previews": ["ant-man"]}' @@ -80,6 +84,8 @@ jobs: route: POST /repos/:repository/deployments/:deployment/statuses repository: ${{ github.repository }} deployment: ${{ fromJson(steps.create_deployment.outputs.data).id }} + production_environment: true + environment: review environment_url: http://github-actions-demo-app-${{ github.event.pull_request.number }}.dokku.proxima-web.com log_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} mediaType: '{"previews": ["ant-man"]}'