Skip to content

Commit

Permalink
🔧 (update-youtube.yml): add GOOGLE_REFRESH_TOKEN to environment varia…
Browse files Browse the repository at this point in the history
…bles (#185)


Adding the GOOGLE_REFRESH_TOKEN to the environment variables ensures
that the workflow can refresh the Google access token when it expires.
This change enhances the reliability and continuity of the workflow by
preventing interruptions due to token expiration.
  • Loading branch information
MrHinsh authored Nov 30, 2024
2 parents 3aefc30 + 44cdc2e commit fe8b85a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update-youtube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
env:
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
GOOGLE_ACCESS_TOKEN: ${{ secrets.GOOGLE_ACCESS_TOKEN }}
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }}
GOOGLE_CLINET_ID: ${{ secrets.GOOGLE_CLINET_ID }}
GOOGLE_CLINET_SECRET: ${{ secrets.GOOGLE_CLINET_SECRET }}

- name: Update-YoutubeMarkdownFiles
shell: pwsh
Expand Down

0 comments on commit fe8b85a

Please sign in to comment.