From 3301c7cabc9f11c24bc0b61035c2d064236c8e43 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Fri, 16 Jun 2023 00:18:36 +0100 Subject: [PATCH] Update stage.yml --- .github/workflows/stage.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 31bbc630ef..feaee76961 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -32,13 +32,7 @@ jobs: env: LABEL: ${{ github.event.label.name }} run: | - if [[ $LABEL == 'pr-staged-uk' ]]; then - ssh ofn-deploy@staging.openfoodnetwork.org.uk -o LogLevel=ERROR "pull-request-${{ github.event.pull_request.number }} ." - elif [[ $LABEL == 'pr-staged-au' ]]; then - ssh ofn-deploy@staging.openfoodnetwork.org.au -o LogLevel=ERROR "pull-request-${{ github.event.pull_request.number }} ." - elif [[ $LABEL == 'pr-staged-fr' ]]; then - ssh ofn-deploy@staging.coopcircuits.fr -o LogLevel=ERROR "pull-request-${{ github.event.pull_request.number }} ." - fi + ssh ofn-deploy@${{ github.event.label.description }} -o LogLevel=ERROR "pull-request-${{ github.event.pull_request.number }} ." deploy_branch: if: ${{ inputs.server }}