surtur
50f7345a58
All checks were successful
continuous-integration/drone/push Build is passing
* each subpage now has its own directory * the deploy script and hyperlinks have been updated accordingly * style and script file sourcing reflects the change too, referring to an actual web root
22 lines
423 B
Bash
22 lines
423 B
Bash
#!/bin/bash
|
|
|
|
USR=dotyaoverlord
|
|
HOST=dotya.ml
|
|
PUBDIR=tew_0x00public/
|
|
|
|
rm -rfv ../tew0x00/public
|
|
mkdir -pv ../tew0x00/public
|
|
|
|
rsync -av index.html scripts css media \
|
|
roundedcorners backgroundgradient shadows \
|
|
2Dtransforms 3Dtransforms transitions animations \
|
|
../tew0x00/public
|
|
|
|
if [ $USER = $USR ]; then
|
|
rsync -av --delete public/ ~/${PUBDIR}
|
|
else
|
|
rsync -avz --delete public/ ${USR}@${HOST}:~/${PUBDIR}
|
|
fi
|
|
|
|
exit 0
|