Skip to content

Generate data

Generate data #2210

Workflow file for this run

name: Generate data
on:
schedule:
- cron: "0 */8 * * *"
workflow_dispatch:
jobs:
generate-data:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Initial config
run: |
git config user.name "GitHub Actions"
git config user.email [email protected]
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.7.5"
- name: Install elementary tutorial repo
run: |
pip install -e.
- name: Generate data
run: |
elementary-tutorial generate-tutorial-data
- name: Commit changes
run: git commit -am "Generated new data for the tutorial"
- name: Push code
run: git push