-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
35 lines (28 loc) · 1004 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: build
build:
cd hugo ;\
hugo
.PHONY: run
run:
cd hugo ;\
hugo server --disableFastRender
.PHONY: test
test:
make build
@echo "OK"
.PHONY: deploy
deploy:
@echo
@echo "Deployment is now done automatically by Jenkins when master is updated."
@echo "Jenkins updates the webserver directly rather than using the gh-pages branch"
@echo
.PHONY: deploy_manually
deploy_manually:
make build
rsync -razd --progress hugo/public/ [email protected]:~/html
source/fingerprints.txt.sig: source/fingerprints.txt
gpg --sign --local-user 'B79F 0840 DEF1 2EBB A72F F72D 7327 A44C 2157 A758' --output source/fingerprints.txt.sig source/fingerprints.txt
download_nginx_config:
scp www.fluidkeys.com:/etc/nginx/sites-enabled/fluidkeys.com* _config/etc/nginx/sites-enabled/
scp www.fluidkeys.com:/etc/nginx/sites-enabled/www.fluidkeys.com* _config/etc/nginx/sites-enabled/
scp www.fluidkeys.com:/etc/nginx/sites-enabled/download.fluidkeys.com* _config/etc/nginx/sites-enabled/