Skip to content
Snippets Groups Projects
Verified Commit 530598bd authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix.

parent 28684f3e
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -30,11 +30,14 @@ function build {
rm -rf dist/tmp-erb
cd sites
if [ $(ls -A *.erb | wc -l) -gt 0 ]; then
for template in *.erb;
do
echo "Regenerating ${template%.*}..."
erb -r ../render.rb $template > ../dist/sites-available/${template%.*}
done
fi
cd ..
cp snippets/* dist/snippets/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment