File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GCS Testing
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ fetch :
8+ runs-on : ubuntu-latest
9+
10+ env :
11+ GCS_DEVELOPER_KEY : ${{ secrets.GCS_DEVELOPER_KEY }}
12+ GCS_CX : ${{ secrets.GCS_CX }}
13+
14+ # CC Technology team members:
15+ # See cc-quantifying-bot GitHub entry in Bitwarden for information on
16+ # BOT_ secrets
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+ with :
22+ token : ${{ secrets.BOT_TOKEN }}
23+
24+ - name : Configure git
25+ run : |
26+ git config user.name "${{ secrets.BOT_NAME }}"
27+ git config user.email "${{ secrets.BOT_EMAIL }}"
28+
29+ - name : Set up Python
30+ uses : actions/setup-python@v5
31+ with :
32+ python-version : ' 3.11'
33+
34+ - name : Install dependencies
35+ run : |
36+ pip install --upgrade pip
37+ pip install pipenv
38+ pipenv sync --system
39+
40+ - name : Set PYTHONPATH
41+ run : echo "PYTHONPATH=./scripts" >> $GITHUB_ENV
42+
43+ - name : Fetch from Google Custom Search (GCS)
44+ run : |
45+ ./scripts/1-fetch/gcs_fetch.py \
46+ --limit=3 --enable-save --enable-git --dev
You can’t perform that action at this time.
0 commit comments