build: remove extra directory
This commit is contained in:
parent
f26dc8ed42
commit
ba89c8d2ba
@ -37,8 +37,7 @@
|
|||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
${pkgs.hugo}/bin/hugo --cleanDestinationDir --printPathWarnings --panicOnWarning --log
|
${pkgs.hugo}/bin/hugo --cleanDestinationDir --printPathWarnings --panicOnWarning --log
|
||||||
cd public
|
find public \
|
||||||
find . \
|
|
||||||
-name '*.html' -or \
|
-name '*.html' -or \
|
||||||
-name '*.xml' -or \
|
-name '*.xml' -or \
|
||||||
-name '*.txt' -or \
|
-name '*.txt' -or \
|
||||||
@ -49,7 +48,7 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cd ..; mv public $out
|
mv public $out
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user