1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added deploy stage

This commit is contained in:
Steffen Vogel 2015-09-15 14:03:16 +02:00
parent 5f0e8b013e
commit 6892024a86
2 changed files with 7 additions and 1 deletions

View file

@ -8,6 +8,7 @@ addons:
- graphviz
cache:
apt: true
directories:
- thirdparty

View file

@ -2,6 +2,8 @@
PREFIX=$(PWD)/thirdparty
COMMIT=$(shell git rev-parse --short HEAD)
.PHONY: dependencies build deploy test doc clean libnl3 libconfig
clean:
@ -44,4 +46,7 @@ test:
# Deploy
deploy:
echo "Nothing to do here yet"
tar czf s2ss-$(COMMIT)-docs.tar.gz documentation/html/
tar czf s2ss-$(COMMIT).tar.gz server/server server/test server/send server/receive server/random server/etc/
rsync *.tar.gz $(DEPLOY_USER)@$(DEPLOY_HOST):$(DEPLOY_PATH)/
rsync --archive --delete documentation/html/ $(DEPLOY_USER)@$(DEPLOY_HOST):$(DEPLOY_PATH)/doc/