Update stage.yml

This commit is contained in:
Matt-Yorkley
2023-06-16 00:18:36 +01:00
committed by GitHub
parent 436deb9797
commit 3301c7cabc

View File

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