Doc links updates (#546) #232
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Updates intents to google sheet | |
on: | |
push: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- run: pip install gspread google pyyaml | |
- run: python scripts/dump_data.py > intents.csv | |
- run: python scripts/update_google_sheet.py | |
env: | |
SPREADSHEET_ID: ${{ secrets.SPREADSHEET_ID }} | |
WORKSHEET_NAME: "main" | |
GOOGLE_CLOUD_ACCOUNT: ${{ secrets.GOOGLE_CLOUD_ACCOUNT }} | |
GOOGLE_CLOUD_ACCOUNT_SECRET: ${{ secrets.GOOGLE_CLOUD_ACCOUNT_SECRET }} |