Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit be5420f

Browse files
authored
Update spotifyScheduler.yaml
1 parent 0e50d5f commit be5420f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/spotifyScheduler.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Github Scheduler for Spotify playlist
22

33
on:
44
workflow_dispatch:
5-
schedule:
6-
- cron: '0 5 * * 1'
5+
inputs:
6+
playlist_id:
7+
description: Define the playlist id you want to export
8+
type: string
9+
required: true
710

811
jobs:
912
save_playlist:
@@ -39,8 +42,7 @@ jobs:
3942
SPOTIPY_CLIENT_SECRET: ${{ secrets.SPOTIPY_CLIENT_SECRET }}
4043
SPOTIPY_REDIRECT_URI: ${{ secrets.SPOTIPY_REDIRECT_URI }}
4144
SPOTIFY_USER: ${{ secrets.SPOTIFY_USER }}
42-
DISCOVER_WEEKLY_ID: ${{ secrets.DISCOVER_WEEKLY_ID }}
43-
45+
playlist_id: ${{ inputs.playlist_id }}
4446

4547
- uses: actions/upload-artifact@v4
4648
with:

0 commit comments

Comments
 (0)