Update and rework project structure with new pagebuilder concept. (based on RK Architekten and SFU Politik configs and sources)
This commit is contained in:
@@ -21,7 +21,7 @@ echo "sync frontend"
|
||||
rsync -rlcgD --perms -i -u -v --stats --progress \
|
||||
--delete \
|
||||
-e "sshpass -p $pass ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22222" \
|
||||
dist/ \
|
||||
frontend/ \
|
||||
$user@$host:./frontend/
|
||||
|
||||
echo "sync api config"
|
||||
|
||||
@@ -5,7 +5,7 @@ if [ "$1" == "" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
preload=$(for f in dist/_dist_/*.woff2; do
|
||||
preload=$(for f in frontend/_dist_/*.woff2; do
|
||||
echo "<link rel=\"preload\" href=\"/_dist_/`basename $f`\" as=\"font\" type=\"font/woff2\" crossorigin />"
|
||||
done)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user