1
0
Files
Blog/RebuildGitScript.sh
2025-12-03 12:51:21 +01:00

19 lines
251 B
Bash
Executable File

# Pull changes
git pull origin main
# Rebuild
docker compose exec -it hugo hugo --cleanDestinationDir
# Add
git add .
# commit
git commit -m "Rebuild"
# Push
git push origin main
# Rebuild
docker compose exec -it hugo hugo --cleanDestinationDir