Skip to content

Get Data and Deploy #113

Get Data and Deploy

Get Data and Deploy #113

Workflow file for this run

name: Get Data and Deploy
on:
push:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
getdata:
name: Get Data
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .github/requirements.txt
- run: python .github/generate.py
env:
DEFAULT_BRANCH: main
- uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'main'