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

18 lines
250 B
Bash

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