Automation: Task execution results 2026-02-09 11:10:50
This commit is contained in:
17
automation/logs/fix-mkdocs-footer_completed_20260209_111050.sh
Executable file
17
automation/logs/fix-mkdocs-footer_completed_20260209_111050.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Fix date variable in MkDocs footer
|
||||
|
||||
cd /var/www/mkdocs/site/docs
|
||||
sed -i "s/\$(date)/$(date)/" index.md
|
||||
|
||||
# Rebuild site
|
||||
cd /var/www/mkdocs/site
|
||||
source /var/www/mkdocs/venv/bin/activate
|
||||
mkdocs build
|
||||
|
||||
# Commit fix to Git
|
||||
git add docs/index.md
|
||||
git commit -m "Fix footer date variable"
|
||||
git push origin main
|
||||
|
||||
echo "Footer date fixed and pushed to Git"
|
||||
22
automation/results/fix-mkdocs-footer_result.txt
Normal file
22
automation/results/fix-mkdocs-footer_result.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
Task: fix-mkdocs-footer.sh
|
||||
Started: Mon Feb 9 11:10:49 AM CST 2026
|
||||
==========================================
|
||||
INFO - Cleaning site directory
|
||||
INFO - Building documentation to directory: /var/www/mkdocs/site/site
|
||||
INFO - Documentation built in 0.29 seconds
|
||||
fatal: detected dubious ownership in repository at '/var/www/mkdocs/site'
|
||||
To add an exception for this directory, call:
|
||||
|
||||
git config --global --add safe.directory /var/www/mkdocs/site
|
||||
fatal: detected dubious ownership in repository at '/var/www/mkdocs/site'
|
||||
To add an exception for this directory, call:
|
||||
|
||||
git config --global --add safe.directory /var/www/mkdocs/site
|
||||
fatal: detected dubious ownership in repository at '/var/www/mkdocs/site'
|
||||
To add an exception for this directory, call:
|
||||
|
||||
git config --global --add safe.directory /var/www/mkdocs/site
|
||||
Footer date fixed and pushed to Git
|
||||
==========================================
|
||||
Finished: Mon Feb 9 11:10:50 AM CST 2026
|
||||
Exit Code: 0
|
||||
Reference in New Issue
Block a user