Skip to content

Commit

Permalink
fix: use secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
rfoel committed May 11, 2023
1 parent 276e5f3 commit 225e294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/streak-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
# - cron: '0 9 * * *'

env:
DUOLINGO_USER_ID: '123'
DUOLINGO_JWT: 'abc'
DUOLINGO_USER_ID: ${{ secrets.DUOLINGO_USER_ID }}
DUOLINGO_JWT: ${{ secrets.DUOLINGO_JWT }}

jobs:
study:
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
console.log(process.env)

const headers = {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.DUOLINGO_JWT}`,
Expand Down

0 comments on commit 225e294

Please sign in to comment.