Sync Readme #9073
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Readme | |
on: | |
schedule: | |
- cron: "0 */1 * * *" | |
workflow_dispatch: | |
jobs: | |
sched-job-0: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: master | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Download | |
run: | | |
rm -f a.log | |
wget -q ${{ secrets.MSGSERVERHOST }} | |
ls -alhS | |
- name: A | |
run: | | |
python3 log-rank.py | |
git config --local user.email "[email protected]" | |
git config --local user.name "violet-dev" | |
git config --global pull.rebase false | |
git add *.md | |
git add a.log -f | |
git add SORT-COMBINE.json | |
git commit -m "update job" | |
git pull | |
- name: Push | |
uses: ad-m/github-push-action@master | |
with: | |
branch: 'master' | |
github_token: $ |