Skip to content

Flat Data

Flat Data #52923

Workflow file for this run

name: Flat Data
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '*/30 * * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
# This step installs Deno, which is a new Javascript runtime that improves on Node. Can be used for an optional postprocessing step
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.10.x
# Check out the repository so it can read the files inside of it and do other operations
- name: Check out repo
uses: actions/checkout@v2
# cURL data from the specified URL and overwrite the destination file.
# Rely on the Flat Action to check the data in on our behalf
- name: Fetch requests
uses: githubocto/flat@v2
with:
http_url: https://datascapesg-scrapers.netlify.app/.netlify/functions/redcross-bloodstocks
downloaded_filename: blood-stocks.json