mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix
This commit is contained in:
parent
92df5a49db
commit
c30c7d7f4d
1 changed files with 4 additions and 4 deletions
|
@ -44,14 +44,14 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: make -C ~/openmptcprouter/source/$OMR_TARGET package/{compile,install,index} target/install -j2
|
command: make -C ~/openmptcprouter/$OMR_TARGET/source package/{compile,install,index} target/install -j2
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
command: |
|
command: |
|
||||||
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
||||||
rsync -av --delete-after ~/openmptcprouter/$OMR_TARGET/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/$OMR_TARGET
|
rsync -av --delete-after ~/openmptcprouter/$OMR_TARGET/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/$OMR_TARGET
|
||||||
rm -rf ~/openmptcprouter/source/bin
|
rm -rf ~/openmptcprouter/$OMR_TARGET/source/bin
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: cache-{{ checksum "/tmp/cache-version" }}
|
key: cache-{{ checksum "/tmp/cache-version" }}
|
||||||
|
@ -101,14 +101,14 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: make -C ~/openmptcprouter/source/$OMR_TARGET package/{compile,install,index} target/install -j2
|
command: make -C ~/openmptcprouter/$OMR_TARGET/source package/{compile,install,index} target/install -j2
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
command: |
|
command: |
|
||||||
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
||||||
rsync -av --delete-after ~/openmptcprouter/$OMR_TARGET/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/$OMR_TARGET
|
rsync -av --delete-after ~/openmptcprouter/$OMR_TARGET/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/$OMR_TARGET
|
||||||
rm -rf ~/openmptcprouter/source/bin
|
rm -rf ~/openmptcprouter/$OMR_TARGET/source/bin
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: cache-{{ checksum "/tmp/cache-version" }}
|
key: cache-{{ checksum "/tmp/cache-version" }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue