Skip to content

Commit

Permalink
WIP 17
Browse files Browse the repository at this point in the history
  • Loading branch information
hashemian committed May 13, 2024
1 parent d4de47c commit 6388e50
Show file tree
Hide file tree
Showing 2 changed files with 420 additions and 449 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/process_feature_json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,14 @@ jobs:
with:
python-version: '3.9'

- name: Use the secret in env vars script
- name: Install Python packages
run: |
python -m pip install --upgrade pip
pip install gspread pandas oauth2client google-api-python-client google-auth-httplib2 google-auth-oauthlib
- name: Process Feature JSON
env:
GSHEETS_TOKEN_ENVVAR: ${{ secrets.G_SHEETS_TOKEN }}
run: |
echo '${{ secrets.G_SHEETS_TOKEN }}' | base64 --decode | jq > gsheets_token.json
python scripts/process_json.py
# - name: Install Python packages
# env:
# gsheet_token: ${{ secrets.G_SHEETS_TOKEN }}
# gsheet_token2: ${{ secrets.G_SHEETS_TOKENS }}
# run: |
# python -m pip install --upgrade pip
# pip install gspread pandas oauth2client google-api-python-client google-auth-httplib2 google-auth-oauthlib

# - name: Process Feature JSON
# run: |
# python scripts/process_json.py
python scripts/process_json.py
Loading

0 comments on commit 6388e50

Please sign in to comment.