Check Circle CI #500
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: Check Circle CI | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Replace last check | |
run: | | |
sed -i '$s/.*/Checked circle CI at: '"$(date)"'/' README.md | |
- name: Commit | |
run: | | |
git config --global user.name 'Huu Khanh' | |
git config --global user.email 'butchicun1236@gmail.com' | |
git commit -am "Check Circle CI" | |
git push | |
env: | |
MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} |