adding github action #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Produce RapidPro flows | |
on: [push] | |
jobs: | |
core-function: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run pipeline | |
run: python -m parenttext_pipeline.cli pull_data compile_flows | |
- name: Publish output folder | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Output Files | |
path: output |