Skip to content

Daily Fetch of Data #4218

Daily Fetch of Data

Daily Fetch of Data #4218

Workflow file for this run

name: Daily Fetch of Data
on:
push:
branches:
- main
schedule:
- cron: "0 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Adding Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
working-directory: scraper
run: npm install
- name: Fetch Data
working-directory: scraper
run: npm start daft update sligo
- name: Process Data
working-directory: scraper
run: npm start daft process sligo
- name: View Data
working-directory: scraper
run: npm start daft view sligo
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./