From ef05b37c61017af4f5994811bd99e99c0ba0362e Mon Sep 17 00:00:00 2001 From: dman776 Date: Sat, 14 Jul 2018 23:47:51 -0500 Subject: [PATCH] circleci: correct proper targets directory structure (#63) --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2078bd0f..c65a1181 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,12 +39,15 @@ jobs: - run: name: Untar Files command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'tar -xjf ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE} -C ~/'" - - run: - name: Remove tarball - command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'rm ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE}'" + #- run: + # name: Remove tarball + # command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'rm ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE}'" - run: name: Empty nightly dir command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'rm -rf ${NIGHTLY_DIR}'" + - run: + name: Create nightly dir + command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mkdir -p ${NIGHTLY_DIR}'" - run: name: Move targets command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/targets ${NIGHTLY_DIR}'"