split up client scripts
This commit is contained in:
parent
bb87e965da
commit
151ad102dd
|
@ -6,16 +6,4 @@ echo
|
|||
set_color white --bold; echo "* Running editor"; set_color normal
|
||||
eval $EDITOR content/index.tree
|
||||
|
||||
echo
|
||||
set_color white --bold; echo "* Fixing the tree"; set_color normal
|
||||
cargo run -p treehouse fix-all --apply
|
||||
|
||||
echo
|
||||
set_color white --bold; echo "* Committing changes"; set_color normal
|
||||
git add content
|
||||
git commit
|
||||
git push
|
||||
|
||||
echo
|
||||
set_color white --bold; echo "* Uploading to server"; set_color normal
|
||||
fish admin/client_sync.fish
|
||||
fish admin/client_push.fish
|
||||
|
|
19
admin/client_push.fish
Normal file
19
admin/client_push.fish
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
cd $TREEHOUSE_PATH
|
||||
|
||||
echo
|
||||
set_color white --bold; echo "* Fixing the tree"; set_color normal
|
||||
cargo run -p treehouse fix-all --apply
|
||||
|
||||
echo
|
||||
set_color white --bold; echo "* Committing changes"; set_color normal
|
||||
git add \
|
||||
content static template \
|
||||
treehouse.toml
|
||||
git commit
|
||||
git push
|
||||
|
||||
echo
|
||||
set_color white --bold; echo "* Uploading to server"; set_color normal
|
||||
fish admin/client_sync.fish
|
Loading…
Reference in a new issue