Scrape Stonk Prices #5184
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 Stonk Prices' | |
on: | |
schedule: | |
- cron: '0 */6 * * *' | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: ./data | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- run: npm ci | |
- run: npm run scraper | |
- name: Committing changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: Github Actions | |
author_email: [email protected] |