Skip to content

Update Grist Spreedsheets with metadata from ecosyste.ms #3

Update Grist Spreedsheets with metadata from ecosyste.ms

Update Grist Spreedsheets with metadata from ecosyste.ms #3

Workflow file for this run

name: Update Grist Spreedsheets with metadata from ecosyste.ms
# Controls when the workflow will run
on:
schedule:
# Run at 00:00 UTC every Monday
- cron: '0 0 * * *'
#on:
# push:
# branches:
# - ecosystems-to-spreadsheet-integration
jobs:
weekly-task:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: pip install pandas requests
- name: Run the script
env:
GRIST_API_TOKEN: ${{ secrets.GRIST }}
run: python .github/workflows/ecosystems_to_grist.py -k "$GRIST_API_TOKEN"