feature/ai-search #2
@@ -403,14 +403,14 @@ jobs:
|
|||||||
ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts 2>/dev/null
|
ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts 2>/dev/null
|
||||||
|
|
||||||
# Transfer and Restart
|
# Transfer and Restart
|
||||||
if [[ "$TARGET" == "production" ]]; then
|
if [[ "${{ env.TARGET }}" == "production" ]]; then
|
||||||
SITE_DIR="/home/deploy/sites/klz-cables.com"
|
SITE_DIR="/home/deploy/sites/klz-cables.com"
|
||||||
elif [[ "$TARGET" == "testing" ]]; then
|
elif [[ "${{ env.TARGET }}" == "testing" ]]; then
|
||||||
SITE_DIR="/home/deploy/sites/testing.klz-cables.com"
|
SITE_DIR="/home/deploy/sites/testing.klz-cables.com"
|
||||||
elif [[ "$TARGET" == "staging" ]]; then
|
elif [[ "${{ env.TARGET }}" == "staging" ]]; then
|
||||||
SITE_DIR="/home/deploy/sites/staging.klz-cables.com"
|
SITE_DIR="/home/deploy/sites/staging.klz-cables.com"
|
||||||
else
|
else
|
||||||
SITE_DIR="/home/deploy/sites/branch.klz-cables.com/${SLUG:-unknown}"
|
SITE_DIR="/home/deploy/sites/branch.klz-cables.com/${{ env.SLUG }}"
|
||||||
fi
|
fi
|
||||||
ssh root@alpha.mintel.me "mkdir -p $SITE_DIR"
|
ssh root@alpha.mintel.me "mkdir -p $SITE_DIR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user