Play with actions

pull/4/head
Ashhar Hasan 4 years ago committed by GitHub
parent 2ed8856fc8
commit d5b6d1f391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save