Skip to content

Commit

Permalink
Update spotify-seasonal.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Jun 6, 2024
1 parent a80f626 commit 0cd9fff
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/spotify-seasonal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set playlist name
# For this Spotify user, they have a predicable schem for setting the playlist name
# Examples: 2019/2020 Winter, 2020 Spring, 2020 Summer, 2020 Fall
# This step sets the playlist name based on the current month when the workflow runs
- name: Determine Playlist Name Based on Season
run: |
MONTH=$(date +%m)
YEAR=$(date +%Y)
Expand All @@ -39,7 +42,8 @@ jobs:
echo "PLAYLIST_NAME=${YEAR} Fall" >> $GITHUB_ENV
;;
esac
- name: Save the playlist
# This step saves the playlist using the determined name
- name: Export the playlist
uses: ./
with:
spotify-username: "katydecorah"
Expand Down

0 comments on commit 0cd9fff

Please sign in to comment.