1
Fork 0

build: remove extra directory

main
Motiejus Jakštys 2023-04-04 10:12:28 +03:00
parent f26dc8ed42
commit ba89c8d2ba
1 changed files with 2 additions and 3 deletions

View File

@ -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
''; '';
}; };