mirror of
https://github.com/EvanLi/Github-Ranking.git
synced 2026-11-06 16:31:49 +00:00
10 lines
246 B
Bash
10 lines
246 B
Bash
#!/bin/sh
|
|
# crontab auto run this file
|
|
cd /home/li/code/github/Github-Ranking
|
|
git pull
|
|
source /home/li/tf36/bin/activate
|
|
python save_most_stars_forks.py
|
|
git add .
|
|
today=`date +"%Y-%m-%d"`
|
|
git commit -m "Auto update $today."
|
|
git push origin master |