Compare commits
2
Commits
162e87b9ca
...
3b1797061e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b1797061e | ||
|
|
ed28d29e9b |
+1
-2
@@ -39,7 +39,6 @@ TMPGIT_POSTS=$GENDIR/kollegen-posts
|
|||||||
GIT_HUGO=https://kollegen.uber.space/gitea/kollegenrunde/kollegen-hugo.git
|
GIT_HUGO=https://kollegen.uber.space/gitea/kollegenrunde/kollegen-hugo.git
|
||||||
GIT_POSTS=https://kollegen.uber.space/gitea/kollegenrunde/kollegen-posts.git
|
GIT_POSTS=https://kollegen.uber.space/gitea/kollegenrunde/kollegen-posts.git
|
||||||
|
|
||||||
|
|
||||||
# Log a text file content
|
# Log a text file content
|
||||||
log_file () {
|
log_file () {
|
||||||
cat $1
|
cat $1
|
||||||
@@ -123,7 +122,7 @@ fi
|
|||||||
# Hugo anschmeißen
|
# Hugo anschmeißen
|
||||||
log "Starting hugo"
|
log "Starting hugo"
|
||||||
|
|
||||||
cd $TMPGIT_HUGO && $HUGO --destination $TMPPUBLIC > $TMPLOG 2> $TMPERR
|
cd $TMPGIT_HUGO && $HUGO --cacheDir=$HOME/tmp/hugo_cache --destination $TMPPUBLIC > $TMPLOG 2> $TMPERR
|
||||||
|
|
||||||
if [ -f $TMPLOG ]
|
if [ -f $TMPLOG ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user