This directory contains automation scripts and utilities for maintaining the IT-Journey platform.
update-settings.sh
Automated script for updating configuration files in the pages/_about/settings/
directory.
Purpose:
_config.yml
from root to settings directory.gitignore
)Usage:
# Run manually
./scripts/update-settings.sh
# Or with environment variables
SETTINGS_DIR="custom/path" CONFIG_FILE="custom-config.yml" ./scripts/update-settings.sh
Automated Execution:
This script is automatically executed by the GitHub Actions workflow .github/workflows/update-settings.yml
whenever:
_config.yml
on the main branchDependencies:
tree
command (optional, but recommended for better output)git
(for repository operations)find
, grep
, sort
, etc.)Output Files:
pages/_about/settings/_config.yml
- Copy of root configurationpages/_about/settings/tree.txt
- Repository structurepages/_about/settings/sitemap-data.yml
- Site navigation datapages/_about/settings/config.md
- Enhanced configuration documentationpages/_about/settings/tree.md
- Enhanced tree structure documentationpages/_about/settings/sitemap.md
- Enhanced sitemap documentationset -e
When adding new scripts:
kebab-case.sh
)chmod +x
)For questions or improvements, please open an issue or contribute via pull request.