mirror of https://github.com/aredn/aredn.git
parent
9f2c34eec2
commit
b68b3da5c4
|
@ -1,6 +1,7 @@
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
working_directory: /opt/aredn/aredn_ar71xx
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
|
@ -25,7 +26,7 @@ jobs:
|
||||||
command: echo "delete old files on ${SSH_HOST}:${NIGHTLY_DIR} (rm -rf ${NIGHTLY_DIR}"
|
command: echo "delete old files on ${SSH_HOST}:${NIGHTLY_DIR} (rm -rf ${NIGHTLY_DIR}"
|
||||||
- run:
|
- run:
|
||||||
name: Deploy Files
|
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:
|
- run:
|
||||||
name: Process Files
|
name: Process Files
|
||||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'tar -xjf ~/${ARTIFACTS_FILE} -C ~/'"
|
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'tar -xjf ~/${ARTIFACTS_FILE} -C ~/'"
|
||||||
|
|
Loading…
Reference in New Issue