scrape-plugins #1042
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: scrape-plugins | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
workflow_dispatch: | |
jobs: | |
fetch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: scrape plugins | |
run: | | |
yarn | |
yarn scrape.plugins | |
- name: commit new data | |
run: | | |
git config --global user.name 'NativeScript-Bot' | |
git config --global user.email '[email protected]' | |
git commit -am "chore(update-plugins): $(date)" || echo "No changes to commit." | |
git push |