diff --git a/.github/workflows/streak-keeper.yml b/.github/workflows/streak-keeper.yml index 78a781a..202bdea 100644 --- a/.github/workflows/streak-keeper.yml +++ b/.github/workflows/streak-keeper.yml @@ -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: diff --git a/index.js b/index.js index bf76786..a50e820 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,3 @@ -console.log(process.env) - const headers = { 'Content-Type': 'application/json', Authorization: `Bearer ${process.env.DUOLINGO_JWT}`,