2 Commits

Author SHA1 Message Date
kbe
0f1f5329d4 update build scripts 2025-08-21 12:22:05 +02:00
kbe
b00514f015 Upate script name 2025-08-21 02:06:32 +02:00
5 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
"description": "Hugo static site with WordPress content", "description": "Hugo static site with WordPress content",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"fetch-data": "node scripts/fetch-wordpress.js", "fetch-data": "node scripts/fetch-data.js",
"generate-content": "node scripts/generate-content.js", "generate-content": "node scripts/generate-content.js",
"prebuild": "npm run fetch-data && npm run generate-content", "prebuild": "npm run fetch-data && npm run generate-content",
"build": "npm run build:css && npm run build:js", "build": "npm run build:css && npm run build:js",

View File

@@ -1,7 +1,7 @@
# Crontab file for updating the website # Crontab file for updating the website
# Run the update script every day at 2:00 AM # Run the update script every day at 2:00 AM
0 2 * * * /home/acid/Documents/mistergeek/scripts/update-website.sh >> /home/acid/Documents/mistergeek/logs/update-website.log 2>&1 0 2 * * * /home/srv/files/content/mistergeek.net/scripts/update-website.sh >> /home/srv/files/content/mistergeek.net/logs/update-website.log 2>&1
# Alternatively, run the update script every 6 hours # Alternatively, run the update script every 6 hours
# 0 */6 * * * /home/acid/Documents/mistergeek/scripts/update-website.sh >> /home/acid/Documents/mistergeek/logs/update-website.log 2>&1 # 0 */6 * * * /home/acid/Documents/mistergeek/scripts/update-website.sh >> /home/acid/Documents/mistergeek/logs/update-website.log 2>&1

View File

@@ -13,7 +13,7 @@ cd "$(dirname "$0")/.."
echo "Checking for Docker image..." echo "Checking for Docker image..."
if ! docker compose ls | grep -q "builder"; then if ! docker compose ls | grep -q "builder"; then
echo "Docker image not found. Building image..." echo "Docker image not found. Building image..."
docker compose build docker compose build builder
fi fi
# Start the builder container # Start the builder container

View File

@@ -472,9 +472,9 @@
"@tailwindcss/oxide-win32-arm64-msvc" "4.1.12" "@tailwindcss/oxide-win32-arm64-msvc" "4.1.12"
"@tailwindcss/oxide-win32-x64-msvc" "4.1.12" "@tailwindcss/oxide-win32-x64-msvc" "4.1.12"
"@tailwindcss/postcss@^4.1.12": "@tailwindcss/postcss@^4.1.4":
version "4.1.12" version "4.1.12"
resolved "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.1.12.tgz" resolved "https://registry.yarnpkg.com/@tailwindcss/postcss/-/postcss-4.1.12.tgz#ac2423c3cc69d673e2965c6d1413504a6398e415"
integrity sha512-5PpLYhCAwf9SJEeIsSmCDLgyVfdBhdBpzX1OJ87anT9IVR0Z9pjM0FNixCAUAHGnMBGB8K99SwAheXrT0Kh6QQ== integrity sha512-5PpLYhCAwf9SJEeIsSmCDLgyVfdBhdBpzX1OJ87anT9IVR0Z9pjM0FNixCAUAHGnMBGB8K99SwAheXrT0Kh6QQ==
dependencies: dependencies:
"@alloc/quick-lru" "^5.2.0" "@alloc/quick-lru" "^5.2.0"