From b68b3da5c436e1cafbec276cc8e2affa443402ee Mon Sep 17 00:00:00 2001 From: dman776 Date: Mon, 9 Jul 2018 10:18:34 -0500 Subject: [PATCH] Circleci update (#37) * circleci: refine config --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index def91a26..3a606e1a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ version: 2 jobs: build: + working_directory: /opt/aredn/aredn_ar71xx branches: only: - develop @@ -25,7 +26,7 @@ jobs: command: echo "delete old files on ${SSH_HOST}:${NIGHTLY_DIR} (rm -rf ${NIGHTLY_DIR}" - run: name: Deploy Files - command: scp -o StrictHostKeyChecking=no ${ARTIFACTS_ARCHIVE}/${ARTIFACTS_FILE} ${SSH_USER}@${SSH_HOST}:~/ + command: scp -o StrictHostKeyChecking=no ${HOME}/${ARTIFACTS_FILE} ${SSH_USER}@${SSH_HOST}:~/ - run: name: Process Files command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'tar -xjf ~/${ARTIFACTS_FILE} -C ~/'"