diff --git a/automation/logs/fix-git-ownership_completed_20260209_111212.sh b/automation/logs/fix-git-ownership_completed_20260209_111212.sh new file mode 100755 index 0000000..7be75c2 --- /dev/null +++ b/automation/logs/fix-git-ownership_completed_20260209_111212.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Fix Git repository ownership + +# Add safe directory +git config --global --add safe.directory /var/www/mkdocs/site + +# Fix ownership +chown -R root:root /var/www/mkdocs/site + +# Now update the footer and push +cd /var/www/mkdocs/site/docs +sed -i "s/\$(date)/$(date '+%B %d, %Y')/" index.md + +# Rebuild +cd /var/www/mkdocs/site +source /var/www/mkdocs/venv/bin/activate +mkdocs build + +# Commit and push +git add docs/index.md +git commit -m "Fix footer date: $(date '+%B %d, %Y')" +git push origin main + +echo "Git ownership fixed, footer updated, pushed to Git" diff --git a/automation/results/fix-git-ownership_result.txt b/automation/results/fix-git-ownership_result.txt new file mode 100644 index 0000000..92f2a88 --- /dev/null +++ b/automation/results/fix-git-ownership_result.txt @@ -0,0 +1,17 @@ +Task: fix-git-ownership.sh +Started: Mon Feb 9 11:12:11 AM CST 2026 +========================================== +INFO - Cleaning site directory +INFO - Building documentation to directory: /var/www/mkdocs/site/site +INFO - Documentation built in 0.28 seconds +[main 741154e] Fix footer date: February 09, 2026 + 1 file changed, 22 insertions(+) + create mode 100644 docs/index.md +remote: . Processing 1 references +remote: Processed 1 references in total +To https://git.firefrostgaming.com/firefrost-gaming/firefrost-documentation.git + 088319f..741154e main -> main +Git ownership fixed, footer updated, pushed to Git +========================================== +Finished: Mon Feb 9 11:12:12 AM CST 2026 +Exit Code: 0