Automation: Task execution results 2026-02-09 11:12:12
This commit is contained in:
24
automation/logs/fix-git-ownership_completed_20260209_111212.sh
Executable file
24
automation/logs/fix-git-ownership_completed_20260209_111212.sh
Executable file
@@ -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"
|
||||
17
automation/results/fix-git-ownership_result.txt
Normal file
17
automation/results/fix-git-ownership_result.txt
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user