about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xgen5
-rw-r--r--netlify.toml3
-rwxr-xr-xtools/cpiobin965992 -> 0 bytes
-rwxr-xr-xtools/lowdownbin616576 -> 0 bytes
4 files changed, 3 insertions, 5 deletions
diff --git a/gen b/gen
index af919c7..9ced8e4 100755
--- a/gen
+++ b/gen
@@ -3,7 +3,10 @@
 rm -r dest || true
 mkdir dest
 
+# This is useful when deploying on netlify. Thanks to storing compiled binaries
+# in this folder they will be cached and restored.
 export PATH="$PWD/.jekyll-cache:$PATH"
+./tools/compile
 
 cat > wpisy/kronika.html << EOF
 <h2>Ostatnie wpisy</h2>
@@ -18,6 +21,4 @@ for f in `find wpisy/kronika/20* -name '*.md' | sort -r`; do
 done
 echo "</div>" >> wpisy/kronika.html
 
-./tools/compile
-
 ./ssg5 wpisy dest "19 PDH Puszcza" "https://19.niedzwiedzinski.cyou"
diff --git a/netlify.toml b/netlify.toml
index 88b1d50..a5a2b21 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -3,7 +3,4 @@
 	command = "./gen"
 
 [[plugins]]
-package = "netlify-plugin-debug-cache"
-
-[[plugins]]
 package = "netlify-plugin-jekyll-cache"
diff --git a/tools/cpio b/tools/cpio
deleted file mode 100755
index b77dafc..0000000
--- a/tools/cpio
+++ /dev/null
Binary files differdiff --git a/tools/lowdown b/tools/lowdown
deleted file mode 100755
index 407154c..0000000
--- a/tools/lowdown
+++ /dev/null
Binary files differ