mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cmake: fix deployment paths
This commit is contained in:
parent
3b26208787
commit
0b9178c97b
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@ if (NOT DEFINED DEPLOY_PATH)
|
|||
endif()
|
||||
|
||||
add_custom_target(deploy-dist
|
||||
COMMAND rsync ${CMAKE_BINARY_DIR}/*.tar.gz ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/src
|
||||
COMMAND rsync ${PROJECT_BINARY_DIR}/*.tar.gz ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/src
|
||||
)
|
||||
|
||||
add_custom_target(deploy-rpm
|
||||
COMMAND rsync -a --progress ${CMAKE_BINARY_DIR}/*.rpm ${DEPLOY_USER}@${DEPLOY_HOST}:/var/www/packages/redhat/
|
||||
COMMAND rsync -a --progress ${PROJECT_BINARY_DIR}/*.rpm ${DEPLOY_USER}@${DEPLOY_HOST}:/var/www/packages/redhat/
|
||||
COMMAND ssh ${DEPLOY_USER}@${DEPLOY_HOST} createrepo /var/www/packages/redhat
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue