Skip to content

update-seatable-database #159

update-seatable-database

update-seatable-database #159

name: update-seatable-database
on:
workflow_dispatch:
schedule:
- cron: '0 23 * * *' # runs at 00:00 UTC everyday
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner
- name: setup python
uses: actions/setup-python@v3
with:
python-version: '3.11.4' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script # run update-seatable-database.py to get the latest plugins into Seatable
env:
SEATABLE_API_TOKEN: ${{ secrets.SEATABLE_API_TOKEN }}
run: python update-seatable-database.py