Skip to content

fetch-data

fetch-data #173

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: '0 0 */7 * *'
name: fetch-data
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pandas openpyxl xlrd
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Fetch
run: bash fetch-data.sh
- uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'main'