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 }}