Automation: Task execution results 2026-02-09 10:48:13
This commit is contained in:
32
automation/logs/bookstack-gitea-sync_completed_20260209_104813.sh
Executable file
32
automation/logs/bookstack-gitea-sync_completed_20260209_104813.sh
Executable 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"
|
||||
16
automation/results/bookstack-gitea-sync_result.txt
Normal file
16
automation/results/bookstack-gitea-sync_result.txt
Normal 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
|
||||
Reference in New Issue
Block a user