Updates to deploy.yaml, concatenating to one script.
This commit is contained in:
@@ -23,9 +23,5 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Deploy via script
|
||||
run: |
|
||||
if [[ "${{ steps.envmap.outputs.ENV }}" == "prod" ]]; then
|
||||
bash /home/sonder/deploy-prod.sh
|
||||
else
|
||||
bash /home/sonder/deploy-dev.sh
|
||||
fi
|
||||
run: |
|
||||
ssh ${SSH_USER}@${SSH_HOST} "bash /home/sonder/deploy.sh ${{ steps.envmap.outputs.ENV }}"
|
||||
|
||||
Reference in New Issue
Block a user