Skip to content

sync

sync #4081

Workflow file for this run

name: sync
on:
push:
branches:
- main
schedule:
- cron: "0 */3 * * *"
workflow_dispatch:
env:
IMDB_COOKIE_AT_MAIN: ${{ secrets.IMDB_COOKIE_AT_MAIN }}
IMDB_COOKIE_UBID_MAIN: ${{ secrets.IMDB_COOKIE_UBID_MAIN }}
IMDB_LIST_IDS: ${{ secrets.IMDB_LIST_IDS }}
SKIP_HISTORY: ${{ secrets.SKIP_HISTORY }}
SYNC_MODE: ${{ secrets.SYNC_MODE }}
TRAKT_CLIENT_ID: ${{ secrets.TRAKT_CLIENT_ID }}
TRAKT_CLIENT_SECRET: ${{ secrets.TRAKT_CLIENT_SECRET }}
TRAKT_EMAIL: ${{ secrets.TRAKT_EMAIL }}
TRAKT_PASSWORD: ${{ secrets.TRAKT_PASSWORD }}
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18'
cache: true
- name: Sync watchlist, lists and ratings
run: go run cmd/syncer/main.go