Scrape Data #46013
This file contains hidden or 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
on: | |
schedule: | |
- cron: '0 * * * *' # Every hour. Ref https://crontab.guru/examples.html | |
name: Scrape Data | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build | |
run: npm install | |
- name: Scrape | |
run: npm run action | |
# env: | |
# WHATEVER_TOKEN: ${{ secrets.YOU_WANT }} | |
- uses: mikeal/publish-to-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub sets this for you |