From f88ec8c8b6978a429b416fb87ec07dd3e6818d77 Mon Sep 17 00:00:00 2001 From: Michael Krause Date: Mon, 9 Feb 2026 10:48:13 -0600 Subject: [PATCH] Automation: Task execution results 2026-02-09 10:48:13 --- ...ck-gitea-sync_completed_20260209_104813.sh | 32 +++++++++++++++++++ .../results/bookstack-gitea-sync_result.txt | 16 ++++++++++ 2 files changed, 48 insertions(+) create mode 100755 automation/logs/bookstack-gitea-sync_completed_20260209_104813.sh create mode 100644 automation/results/bookstack-gitea-sync_result.txt diff --git a/automation/logs/bookstack-gitea-sync_completed_20260209_104813.sh b/automation/logs/bookstack-gitea-sync_completed_20260209_104813.sh new file mode 100755 index 0000000..8cb82a7 --- /dev/null +++ b/automation/logs/bookstack-gitea-sync_completed_20260209_104813.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Integrate BookStack with Gitea for version control + +set -e +echo "=== BookStack + Gitea Integration ===" +date + +cd /var/www/bookstack + +# Create Gitea repository (via API or manually noted) +echo "Repository to create in Gitea: firefrost-documentation" +echo "URL will be: https://git.firefrostgaming.com/firefrost-gaming/firefrost-documentation" + +# Configure BookStack Git integration +# Update .env with Git settings +cat >> .env << 'ENVEOF' + +# Git Integration +REVISION_ENABLED=true +REVISION_LIMIT=50 +DRAWIO_VERSION_CONTROL_ENABLED=true +ENVEOF + +# Restart PHP-FPM to apply changes +systemctl restart php8.3-fpm + +echo "" +echo "=== Integration Configured ===" +echo "Next steps:" +echo "1. Create 'firefrost-documentation' repo in Gitea" +echo "2. Configure webhook in BookStack settings" +echo "3. Enable auto-commit for page changes" diff --git a/automation/results/bookstack-gitea-sync_result.txt b/automation/results/bookstack-gitea-sync_result.txt new file mode 100644 index 0000000..a9112f8 --- /dev/null +++ b/automation/results/bookstack-gitea-sync_result.txt @@ -0,0 +1,16 @@ +Task: bookstack-gitea-sync.sh +Started: Mon Feb 9 10:48:13 AM CST 2026 +========================================== +=== BookStack + Gitea Integration === +Mon Feb 9 10:48:13 AM CST 2026 +Repository to create in Gitea: firefrost-documentation +URL will be: https://git.firefrostgaming.com/firefrost-gaming/firefrost-documentation + +=== Integration Configured === +Next steps: +1. Create 'firefrost-documentation' repo in Gitea +2. Configure webhook in BookStack settings +3. Enable auto-commit for page changes +========================================== +Finished: Mon Feb 9 10:48:13 AM CST 2026 +Exit Code: 0