Skip to content

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

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

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

Workflow file for this run

name: Debug
on:
push:
branches:
- debug
workflow_dispatch:
jobs:
debug-fetch:
runs-on: ubuntu-latest
steps:
- name: Configure git
run: |
git config --global init.defaultBranch main
git config --global user.name "${{ secrets.BOT_NAME }}"
git config --global user.email "${{ secrets.BOT_EMAIL }}"
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 10
token: ${{ secrets.BOT_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
pip install --upgrade pip pipenv
- name: Sync Python modules
run: |
pipenv sync --system
- name: Fetch from Google Custom Search (GCS)
run: |
./scripts/1-fetch/gcs_fetch.py \
--limit=10 --enable-save --enable-git --dev
env:
GCS_DEVELOPER_KEY: ${{ secrets.GCS_DEVELOPER_KEY }}
GCS_CX: ${{ secrets.GCS_CX }}