diff --git a/.woodpecker.yml b/.woodpecker.yml
index 1adf1e6..b10eea9 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -1,7 +1,8 @@
clone:
git:
+ image: woodpeckerci/plugin-git
settings:
- depth: 5
+ depth: 15
steps:
build:
diff --git a/index.html b/index.html
index 5114f3c..9d5ffed 100644
--- a/index.html
+++ b/index.html
@@ -31,7 +31,7 @@
media="screen"
rel="stylesheet"
type="text/css"
- href="/css/site.css?1697074571690"
+ href="/css/site.css?1697075405981"
/>
Recent Changes
+ - October 11, 2023 - add this fancy recent changes module
-
October 8, 2023 - move Burnt Books into Hey Kids!, update
archestratus to note there's no cafe anymore
diff --git a/index.js b/index.js
index de0f7e3..4530bfa 100644
--- a/index.js
+++ b/index.js
@@ -5,14 +5,24 @@ import stores from "./stores.json" assert { type: "json" };
function GetRecentChanges() {
const res = process
- .execSync('git log -4 --pretty=format:"%ct %s"')
+ .execSync('git log -15 --pretty=format:"%ct %s"')
.toString();
return res.split("\n");
}
function ChangeLog(logs) {
let res = "\n";
- logs.forEach((l, i) => {
+ let i = 0;
+ logs.forEach((l) => {
+ if (
+ i > 3 ||
+ l.includes("[skip]") ||
+ l.includes("caddy") ||
+ l.includes("renovate")
+ ) {
+ return;
+ }
+ i++;
const s = l.split(" ");
const date = new Date(s[0] * 1000).toLocaleDateString("en-US", {
year: "numeric",