update-seatable-database #159
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: 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 |