Use webRoot for relative links
This commit is contained in:
parent
8fcf435b17
commit
a2c8fb9dd4
12 changed files with 23 additions and 25 deletions
10
Makefile
10
Makefile
|
@ -3,11 +3,6 @@ all: tup
|
|||
tup:
|
||||
tup build
|
||||
|
||||
preview: tup
|
||||
rm -rf preview
|
||||
cp -r build preview
|
||||
rm -f preview/tup.config
|
||||
|
||||
clean:
|
||||
git nuke
|
||||
|
||||
|
@ -18,3 +13,8 @@ deploy: clean tup
|
|||
rsync --checksum --copy-links -ave 'ssh -p 4242' \
|
||||
--exclude-from=rsync_excludes.txt \
|
||||
build/* fab@ffreling.com:public_html/ffreling.com/public/
|
||||
|
||||
preview: tup
|
||||
rsync --checksum --copy-links -ave 'ssh -p 4242' \
|
||||
--exclude-from=rsync_excludes.txt \
|
||||
build/* preview/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue