Files
flask_blog/deploy.sh
2026-03-15 16:02:41 +01:00

12 lines
236 B
Bash
Executable File

#!/bin/bash
cd content
# 1. Save any new comments first
git add comments.csv
git commit -m "chore: save comments before update"
git push origin main
# 2. Now update the whole blog
cd ..
git pull
git submodule update --init --recursive