Automation: Task execution results 2026-02-09 10:48:13

This commit is contained in:
2026-02-09 10:48:13 -06:00
parent 5a4d528d57
commit f88ec8c8b6
2 changed files with 48 additions and 0 deletions

View File

@@ -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"

View File

@@ -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