Skip to content

Commit

Permalink
🔧 (main.yaml): specify shell for PowerShell script and add environmen…
Browse files Browse the repository at this point in the history
…t variables

Specify the shell as 'pwsh' for running the PowerShell script to ensure compatibility and correct execution. Add environment variables SPOTIFY_CLIENT_SECRET and YOUTUBE_API_KEY to securely pass sensitive information required by the script, enhancing security and functionality.
  • Loading branch information
MrHinsh committed Nov 15, 2024
1 parent ad978d1 commit 4bbae77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ jobs:
- name: getEpisodeList.ps1
run: |
./.powershell/getEpisodeList.ps1
shell: pwsh
env:
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
- uses: cschleiden/replace-tokens@v1
with:
files: '["**/*.html", "**/*.yaml"]'
Expand Down

0 comments on commit 4bbae77

Please sign in to comment.