mirror of https://github.com/aredn/aredn.git
circleci: correct proper targets directory structure (#63)
This commit is contained in:
parent
53fd55b345
commit
ef05b37c61
|
@ -39,12 +39,15 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Untar Files
|
name: Untar Files
|
||||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'tar -xjf ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE} -C ~/'"
|
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'tar -xjf ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE} -C ~/'"
|
||||||
- run:
|
#- run:
|
||||||
name: Remove tarball
|
# name: Remove tarball
|
||||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'rm ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE}'"
|
# command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'rm ~/${CIRCLE_BRANCH}_${ARTIFACTS_FILE}'"
|
||||||
- run:
|
- run:
|
||||||
name: Empty nightly dir
|
name: Empty nightly dir
|
||||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'rm -rf ${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:
|
- run:
|
||||||
name: Move targets
|
name: Move targets
|
||||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/targets ${NIGHTLY_DIR}'"
|
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/targets ${NIGHTLY_DIR}'"
|
||||||
|
|
Loading…
Reference in New Issue