scripts #1480
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: scripts | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 */3 * *" # every three days is enough | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "poetry" | |
- name: Install Python dependencies | |
run: poetry install | |
- name: Process Inbox | |
run: poetry run film2trello inbox | |
env: | |
TRELLO_TOKEN: ${{ secrets.TRELLO_TOKEN }} | |
TRELLO_KEY: ${{ secrets.TRELLO_KEY }} | |
TRELLO_BOARD: ${{ secrets.TRELLO_BOARD }} |