blob: c033d0024db2fd52b6d1659c4a185c2005dbb367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
all: build
build:
find caches -type f -delete
/srv/websites/_scripts/static-site.php
test: devel build
rm http
ln -s static http
devel:
rm http
ln -s src http
clean: devel
rm -rf static
deploy: build
git --git-dir=/srv/websites/github.emkael.info/static commit -a -m "$m"
git --git-dir=/srv/websites/github.emkael.info/static push
# rsync --delete -urPz static/ root@jaom.pl:/var/www/festiwal.brydzystow.pl/web
# ssh root@jaom.pl 'chown web54:client1 /var/www/festiwal.brydzystow.pl/web -R'
# rsync 3.1.0+ only:
# rsync --delete -urPz --chown=web54:client1 static/ root@jaom.pl:/var/www/festiwal.brydzystow.pl/web
|