Skip to content

ICNF DATA SCRAPPER DAILY #578

ICNF DATA SCRAPPER DAILY

ICNF DATA SCRAPPER DAILY #578

Workflow file for this run

# ICNF DATA SCRAPPER
name: ICNF DATA SCRAPPER DAILY
# Controls when the workflow will run / Helpful website: https://crontab.guru/
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 6 * * *'
# Run the workflow manually for debugging or forced executions
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout repo content
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
# Runs a single command using the runners shell
- name: Install python packages
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run App
run: python updater.py
# Commit New Data
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: ICNF DATA SCRAPPING SUCCESSFUL
branch: ${{ github.head_ref }}