mirror of
https://github.com/tchartron/blow
synced 2025-03-06 16:17:20 +00:00
update
This commit is contained in:
parent
0773f24c06
commit
e9c0440bcf
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue