Skip to content

Sync Google Contacts #3

Sync Google Contacts

Sync Google Contacts #3

name: Sync Google Contacts
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout djanog-crm
uses: actions/checkout@v4
- name: Install uv with all available options
uses: astral-sh/setup-uv@v7
- name: Sync deps for Python
run: uv sync --frozen
- name: Setup Django Secret Key One Off
run: |
MY_SECRET_KEY=$(openssl rand -base64 32)
echo "DJANGO_SECRET_KEY=$MY_SECRET_KEY" >> $GITHUB_ENV
- name: Run Django Management Command for contact sync
working-directory: ./src
run: uv run python manage.py sync_contacts --max-results 2