mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
42 lines
1.5 KiB
YAML
42 lines
1.5 KiB
YAML
name: Months End
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 7 * * 1' # Every Monday at 07:00 UTC
|
|
- cron: '0 7 23 * *' # On the 23th of every month at 07:00 UTC
|
|
- cron: '0 7 26 * *' # On the 26th of every month at 07:00 UTC
|
|
- cron: '0 7 29 * *' # On the 29th of every month at 07:00 UTC
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
surveyed-needs-sign-off:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install poetry
|
|
poetry install --no-root
|
|
|
|
- name: Run scripts
|
|
env:
|
|
PYTHONPATH: ${{ github.workspace }}
|
|
run: |
|
|
pwd
|
|
ls -la
|
|
poetry run python etl/month_end_automation_wave_2_layout.py # Done
|
|
poetry run python etl/month_end_automation_wave_2_no_3.py # Done
|
|
poetry run python etl/month_end_automation_wave_2_no_4.py # Done
|
|
poetry run python etl/month_end_automation_wave_2_no_6.py # Check with Matt if this can be deleted
|
|
poetry run python etl/month_end_automation_wave_2_no_7.py # Done
|
|
poetry run python etl/month_end_automation_wave_2_no_8.py # Done
|
|
poetry run python etl/month_end_automation_wave_2_no_11.py # Done
|
|
poetry run python etl/month_end_automation_wave_2_no_15.py # Done
|
|
poetry run python etl/month_end_automation_wave_accent_housing.py # Done
|
|
poetry run python etl/month_end_automation_wave_3_layout.py # Done
|