File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ error() {
2020 exit " ${2:- 1} "
2121}
2222
23+ openssh_opts=' -t '
24+
2325while [ " ${1# -} " != " $1 " ]; do
2426 for opt in $( [ " ${1# --} " = " $1 " ] && echo " ${1# -} " | grep -o . || echo " $1 " ) ; do
2527 case " $opt " in
8789EOF
8890fi
8991
90- ssh " $openssh_opts " " $1 " /bin/sh -c " $( cat << 'EOF '
9192# Bootstrap comparison
93+ set +e
94+ ssh " $openssh_opts " " $1 " /bin/sh << 'EOF '
9295diff -qr "$HOME/emexlabs/bootstrap" "/var/www/emexlabs/bootstrap" >/dev/null 2>&1
96+ exit $?
97+ EOF
9398bootstrap_diff=$?
9499set -e
95100if [ " $bootstrap_diff " -ne 0 ]; then
@@ -108,6 +113,9 @@ if [ "$bootstrap_diff" -ne 0 ]; then
108113 esac
109114fi
110115
116+ ssh " $openssh_opts " " $1 " /bin/sh << 'EOF '
117+ set -e
118+
111119# Deployment
112120trap '
113121status=$?
@@ -135,4 +143,3 @@ mv "$HOME/emexlabs" "$HOME/$backup_path"
135143trap - 0
136144printf '\n\033[33;1mBackup successful!\033[0m\n'
137145EOF
138- ) "
Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ const config = {
178178 title : 'Team & More' ,
179179 items : [
180180 {
181- label : 'Legal Notice' ,
182- to : 'impressum ' ,
181+ label : 'Imprint ( Legal Notice) ' ,
182+ to : 'imprint ' ,
183183 } ,
184184 {
185185 label : 'Members' ,
@@ -313,7 +313,6 @@ const config = {
313313if ( [ 'production' , 'staging' , 'testing' ] . includes ( process . env . NODE_ENV ) ) {
314314 config . onBrokenLinks = 'throw' ;
315315 config . onBrokenAnchors = 'throw' ;
316- config . onBrokenMarkdownLinks = 'throw' ;
317316 config . onDuplicateRoutes = 'throw' ;
318317 config . markdown . hooks . onBrokenMarkdownLinks = 'throw' ;
319318 config . markdown . hooks . onBrokenMarkdownImages = 'throw' ;
Original file line number Diff line number Diff line change 1- # Legal Notice
1+ # Imprint ( Legal Notice)
22
33** emexLabs**
44
You can’t perform that action at this time.
0 commit comments