Skip to content

Update callejero

Update callejero #207

Workflow file for this run

name: Update callejero
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
update-callejero:
runs-on: ubuntu-latest
environment: prod
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install uv
uv pip install --system -r requirements.txt
- name: Write credentials file
run: |
mkdir -p conf/prod
echo "delta_lake:" > conf/prod/credentials.yml
echo " AWS_ENDPOINT_URL: ${{ secrets.S3_ENDPOINT_URL }}" >> conf/prod/credentials.yml
echo " AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}" >> conf/prod/credentials.yml
echo " AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }}" >> conf/prod/credentials.yml
- name: Execute Python command
run: |
kedro run --to-outputs callejero
env:
KEDRO_ENV: prod