Skip to content

change to use google sheet id #7

change to use google sheet id

change to use google sheet id #7

Workflow file for this run

name: Update Google Sheets
on:
push:
branches:
- main
tags:
- '*'
jobs:
update-sheet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client gspread
- name: Update Google Sheets
env:
GOOGLE_SHEETS_CREDENTIALS: ${{ secrets.GOOGLE_SHEETS_CREDENTIALS }}
run: |
echo "${GOOGLE_SHEETS_CREDENTIALS}" > credentials.json
python update_matrix.py