Change minor typo:
``` --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,7 @@ jobs: ssh-keyscan -p ${SSHPORT} ${HOST_NAME} >> ~/.ssh/known_hosts - run: - name: Deploy (Not Master) + name: Deploy command: | if [ "${CIRCLE_BRANCH}" != "master" ]; then ssh -p ${SSHPORT} ${USER_NAME}@${HOST_NAME} "rm -rf /var/www/test/*" ```
This commit is contained in:
parent
aca5778d06
commit
5b8dae4a12
|
@ -49,7 +49,7 @@ jobs:
|
||||||
ssh-keyscan -p ${SSHPORT} ${HOST_NAME} >> ~/.ssh/known_hosts
|
ssh-keyscan -p ${SSHPORT} ${HOST_NAME} >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Deploy (Not Master)
|
name: Deploy
|
||||||
command: |
|
command: |
|
||||||
if [ "${CIRCLE_BRANCH}" != "master" ]; then
|
if [ "${CIRCLE_BRANCH}" != "master" ]; then
|
||||||
ssh -p ${SSHPORT} ${USER_NAME}@${HOST_NAME} "rm -rf /var/www/test/*"
|
ssh -p ${SSHPORT} ${USER_NAME}@${HOST_NAME} "rm -rf /var/www/test/*"
|
||||||
|
|
Loading…
Reference in New Issue