2
0
Fork 0
mirror of https://github.com/tchartron/blow synced 2025-03-06 16:17:20 +00:00
This commit is contained in:
Thomas Chartron 2021-11-13 13:12:37 +01:00
parent 0773f24c06
commit e9c0440bcf

View file

@ -11,11 +11,6 @@ then
cd ..
fi
echo -e "\033[0;32mCommit change to main repository\033[0m\n"
git add .
git commit -m "update"
git push origin main
echo -e "\033[0;32mDeploying updates to GitHub pages repository\033[0m\n"
# Build the project to another directory because zola will delete the submodule /public otherwise
zola build --output-dir public_zola
@ -23,6 +18,11 @@ zola build --output-dir public_zola
cp -a public_zola/* public/
rm -rf public_zola
echo -e "\033[0;32mCommit change to main repository\033[0m\n"
git add .
git commit -m "update"
git push origin main
# Go To Public folder
cd public