mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Update stage.yml
This commit is contained in:
8
.github/workflows/stage.yml
vendored
8
.github/workflows/stage.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user