Skip to content

Titles expiring on Netflix #1023

Titles expiring on Netflix

Titles expiring on Netflix #1023

Workflow file for this run

name: Titles expiring on Netflix
on:
schedule:
- cron: '00 8 * * *'
workflow_dispatch:
jobs:
titles-expiring:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]
- name: Setup Python Environment
uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install Requirements
run: pip install -r requirements.txt
- name: Get Leaving Titles JSON
run: python ntflx-leaving.py
env:
XRAPIDAPIHOST: ${{ secrets.XRAPIDAPIHOST }}
XRAPIDAPIKEY: ${{ secrets.XRAPIDAPIKEY }}
- name: Get Daily Date
id: date
run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_ENV
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: Daily-${{ env.date }}
push_options: '--force'
skip_dirty_check: true
skip_fetch: true
skip_checkout: true
disable_globbing: true