2022-04-13 08:53:46
This commit is contained in:
13
t
Normal file
13
t
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
update: online pull
|
||||
|
||||
sync: online pull
|
||||
@git status | grep -q 'nothing to commit' || (git add -A && git commit -am "$$(date '+%F %T')" && git push)
|
||||
|
||||
online:
|
||||
@dig +short vogsphere.baco.net A | grep -q '213\.5\.156\.25' || echo 'vogsphere.baco.net unresolvable'
|
||||
@nc -vz vogsphere.baco.net 443 2>&1 | grep -qF '443 (https) open' || echo 'vogsphere.baco.net unreachable'
|
||||
|
||||
pull:
|
||||
@git pull
|
||||
|
||||
Reference in New Issue
Block a user