File tree Expand file tree Collapse file tree 2 files changed +6
-30
lines changed Expand file tree Collapse file tree 2 files changed +6
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Get Followers
1+ name : Update Readme
22
33on :
44 workflow_dispatch :
55 schedule :
6- - cron : " 35 0 * * *" # 6:05 AM IST
6+ - cron : " 30 0 * * *"
77
88jobs :
99 update-followers :
@@ -13,12 +13,15 @@ jobs:
1313 - name : Update followers list
1414 run : |
1515 cd scripts && npm install && ACCESS_TOKEN=${{ secrets.ACCESS_TOKEN }} npm run get:followers
16+ - name : Update Blog Posts
17+ run : |
18+ cd scripts && npm install && ACCESS_TOKEN=${{ secrets.ACCESS_TOKEN }} npm run get:posts
1619 - name : Commit changes
1720 run : |
1821 git config --local user.email "github-actions[bot]@users.noreply.github.com"
1922 git config --local user.name "github-actions[bot]"
2023 git add -A
21- git diff-index --quiet HEAD || git commit -m "Update followers list "
24+ git diff-index --quiet HEAD || git commit -m "Updated README.md "
2225 - name : Pull changes
2326 run : git pull -r
2427 - name : Push changes
You can’t perform that action at this time.
0 commit comments