Use webRoot for relative links

This commit is contained in:
Fabien Freling 2019-06-14 13:53:29 +02:00
parent 8fcf435b17
commit a2c8fb9dd4
12 changed files with 23 additions and 25 deletions

View file

@ -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/