build: remove extra directory
This commit is contained in:
@@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user