Skip to content

Add and commit new Google Custom Search (GCS) data for 2024Q4 #22

Add and commit new Google Custom Search (GCS) data for 2024Q4

Add and commit new Google Custom Search (GCS) data for 2024Q4 #22

Workflow file for this run

name: GCS Testing
on:
push:
branches:
- gcs-troubleshooting
workflow_dispatch:
jobs:
fetch:
runs-on: ubuntu-latest
env:
GCS_DEVELOPER_KEY: ${{ secrets.GCS_DEVELOPER_KEY }}
GCS_CX: ${{ secrets.GCS_CX }}
# CC Technology team members:
# See cc-quantifying-bot GitHub entry in Bitwarden for information on
# BOT_ secrets
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Configure git
run: |
git config user.name "${{ secrets.BOT_NAME }}"
git config user.email "${{ secrets.BOT_EMAIL }}"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pipenv
pipenv sync --system
- name: Set PYTHONPATH
run: echo "PYTHONPATH=./scripts" >> $GITHUB_ENV
- name: Fetch from Google Custom Search (GCS)
run: |
./scripts/1-fetch/gcs_fetch.py \
--limit=3 --enable-save --enable-git --dev