diff --git a/.github/workflows/push-to-gitee.yaml b/.github/workflows/push-to-gitee.yaml new file mode 100644 index 00000000..99268de0 --- /dev/null +++ b/.github/workflows/push-to-gitee.yaml @@ -0,0 +1,51 @@ +name: push-to-gitee + +on: [push] + +jobs: + sync: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v1 + - name: Init git + env: + GITEE_PRIVATE: ${{ secrets.GITEE_PRIVATE }} + run: | + mkdir -p ~/.ssh/ + echo "$GITEE_PRIVATE" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + eval "$(ssh-agent)" + ssh-add ~/.ssh/id_rsa + ssh-keyscan -H gitee.com >> ~/.ssh/known_hosts + git config --global user.email "smczx@hotmail.com" + git config --global user.name "ControlNet" + + - name: Clone from gitee + run: git clone git@gitee.com:controlnet/wt-data-project.data.git + + - name: Update the files + run: | + cp joined/* wt-data-project.data/joined + cp ts/* wt-data-project.data/ts + cp wk/* wt-data-project.data/wk + cp ab_ranks_0.csv wt-data-project.data + cp ab_ranks_1.csv wt-data-project.data + cp ab_ranks_all.csv wt-data-project.data + cp rb_ranks_0.csv wt-data-project.data + cp rb_ranks_1.csv wt-data-project.data + cp rb_ranks_all.csv wt-data-project.data + cp sb_ranks_0.csv wt-data-project.data + cp sb_ranks_1.csv wt-data-project.data + cp sb_ranks_all.csv wt-data-project.data + cp README.md wt-data-project.data + cp LICENSE wt-data-project.data + cp .gitignore wt-data-project.data + + - name: Commit and Push + run: | + cd wt-data-project.data + git add -A + git commit -m "update" + git push origin HEAD:master --force diff --git a/README.md b/README.md index f2cdee34..5b6e5cef 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,44 @@ # WT-DATA-PROJECT.DATA Data collected in wt-data-project. + + + + + + + + + + + + + + + + + +
RepositoryInfo
wt-data-project.data + + + + +
wt-data-project.web + + + + +
wt-data-project.visualization + + + +
+ ## Visualization -The visualization part is in this [repo](https://github.com/ControlNet/wt-data-project.visualization) +The visualization part is in this [webpage](https://wt.controlnet.space). + +## Gitee mirror +[https://gitee.com/controlnet/wt-data-project.data](https://gitee.com/controlnet/wt-data-project.data) ## Time-series RB battle ranks data File `rb_ranks_1.csv`: containing a time-series from 2019-11-22 until now, and grouped as battle rating ranges = 1.0.