Store generated configs in $HOME
And move app to ~/app.
This commit is contained in:
parent
0afcd33a99
commit
931cd3f8c1
2 changed files with 12 additions and 8 deletions
4
pusher
4
pusher
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
(echo ; inotifywait -m --include '[0-9]*\.tar\.gz' -e create config) |
|
||||
cd ~/app
|
||||
|
||||
(echo ; inotifywait -m --include '[0-9]*\.tar\.gz' -e create ~/config) |
|
||||
while read ; do
|
||||
FLASK_APP=web python3 -m flask push
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue