From 79071a55a08ff9e0957c6eff06802abe5e2ba210 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 8 Jul 2024 23:37:10 +0000 Subject: [PATCH] Stub sync workflow --- .github/workflows/sync.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 0000000..9791009 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,31 @@ +name: Sync + +on: + schedule: + - cron: "0 8 * * *" + workflow_dispatch: + +jobs: + run: + runs-on: ubuntu-latest + concurrency: sync + + steps: + - name: Checkout main branch + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version-file: "pyproject.toml" + + - name: Install uv + run: pipx install uv + + - name: Install dependencies + run: | + uv pip install --system --constraint requirements.txt '.' + + - name: Sync + run: | + imdb-trakt-sync --help