Merge pull request #27 from kazu634/circleci-support

Change minor typo
This commit is contained in:
Kazuhiro MUSASHI 2019-05-04 21:06:45 +07:00 committed by GitHub
commit 05eb02e00a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/*"