Skip to content

shell action

shell action #21423

Workflow file for this run

name: 'shell action'
on:
schedule:
- cron: '20 * * * *'
jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codes'
uses: actions/checkout@v2
- name: 'run'
run: bash run.sh
- name: 'date'
run: echo `date` > date.log
- name: Commit and push if changed
run: |
git diff
git config --global user.email "[email protected]"
git config --global user.name "Geek-007"
git add -A
git commit -m "Updated" || exit
git push