Produce RapidPro flows #8
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 Poll Wrappers | |
on: | |
workflow_dispatch | |
jobs: | |
core-function: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node dependencies | |
working-directory: technical | |
run: npm ci | |
- name: Install Python dependencies | |
working-directory: technical | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run pipeline | |
working-directory: technical | |
run: python -m parenttext_pipeline.cli pull_data compile_flows | |
- name: Publish poll_wrappers.json | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Poll Wrappers File | |
path: technical/output/poll_wrappers.json |