Skip to content

Commit

Permalink
first test commit to automate deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ly0n committed Aug 20, 2024
1 parent 07d5a1a commit a80976b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update_grist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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 * * 1'

on:
push:
branches:
- ecosystems-to-spreadsheet-integration

jobs:
weekly-task:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: pip install pandas

- name: Download the Python script
run: wget https://raw.githubusercontent.com/protontypes/AwesomeCure/main/ecosystems_to_grist.py

- name: Run the script
env:
GRIST_API_TOKEN: ${{ secrets.GRIST }}
run: python ecosystems_to_grist.py -k "$GRIST_API_TOKEN"

0 comments on commit a80976b

Please sign in to comment.