Skip to content

Save songs

Save songs #734

Workflow file for this run

name: Save songs
on:
schedule:
- cron: '30 6 * * *'
workflow_dispatch:
jobs:
execute-cron:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Python Environment
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Requirements
run: pip install -r requirements.txt
- name: Execute Python script
run: python main.py
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}
PLAYLISTS_CONFIG: ${{ secrets.PLAYLISTS_CONFIG }}
- name: Keepalive
uses: gautamkrishnar/keepalive-workflow@v1