12 lines
236 B
Bash
Executable File
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
|