From 3af12d896399caadb3ff89ede959e5d4bc5ccfc7 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Thu, 4 Jan 2024 14:07:50 +0200 Subject: [PATCH] Revert "make it possible to deploy production with current infrastructure" This reverts commit 36edf30364147cea08fb367af9510630a0fe1dff. --- .github/workflows/deploy-prod.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 6c1ca094a..3ac8a9c25 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -18,11 +18,6 @@ on: countryconfig-image-tag: description: Your Country Config DockerHub image tag required: true - use-latest-infrastructure: - description: Deploy with latest infrastructure code - required: true - default: false - type: boolean jobs: deploy: @@ -35,17 +30,15 @@ jobs: secret: ${{ github.TOKEN }} approvers: euanmillar,rikukissa minimum-approvals: 1 - issue-title: 'Deploy (Prod): core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }}' - issue-body: 'Please approve or deny the deployment of core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }} to production' + issue-title: "Deploy (Prod): core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }}" + issue-body: "Please approve or deny the deployment of core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }} to production" exclude-workflow-initiator-as-approver: false - - name: Clone core uses: actions/checkout@v3 with: fetch-depth: 0 repository: 'opencrvs/opencrvs-core' path: './opencrvs-core' - - name: Clone country config resource package uses: actions/checkout@v3 with: @@ -53,7 +46,6 @@ jobs: path: './${{ github.event.repository.name }}' - name: Checkout country branch - if: github.event.inputs.use-latest-infrastructure == 'false' run: | cd ${{ github.event.repository.name }} git checkout ${{ github.event.inputs.countryconfig-image-tag }}