always-online-stun/run.sh

9 lines
182 B
Bash
Raw Normal View History

2021-11-17 23:36:17 +08:00
#!/usr/bin/env bash
2021-11-17 20:51:32 +08:00
cd "$(dirname "$0")"
2021-11-17 21:04:19 +08:00
timestamp=$(date --utc)
2021-11-17 20:51:32 +08:00
git checkout master && \
git pull && \
cargo run && \
git add . && \
git commit -m "Check ${timestamp}" && \
2021-11-18 00:35:30 +08:00
git push