Play with actions

This commit is contained in:
Ashhar Hasan 2020-01-20 04:45:27 +05:30 committed by GitHub
parent 2ed8856fc8
commit d5b6d1f391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 3 deletions

View File

@ -2,12 +2,22 @@ name: Auto-Update
on:
schedule:
- cron: "0 0 * * 1"
- cron: "*/5 * * * *"
jobs:
build:
name: Auto-Update
runs-on: ubuntu-latest
steps:
- name: update.sh
run: ./update.sh
- uses: actions/checkout@v2
- name: Create local changes
run: |
./update.sh
- name: Commit files
run: |
git config --local user.email "hashhar_dev@outlook.com"
git config --local user.name "Ashhar Hasan"
git commit -m "Synced on $(date -I)" -a
- name: Push changes
run: |
git push