Skip to content

Commit

Permalink
feat: add manual trigger for action
Browse files Browse the repository at this point in the history
  • Loading branch information
rfoel committed May 12, 2023
1 parent c064c82 commit 9e75bfc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/study.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Do a Duolingo lesson

on: [workflow_dispatch]

env:
DUOLINGO_JWT: ${{ secrets.DUOLINGO_JWT }}

jobs:
study:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- run: npm install

- run: node index.js
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# duolingo

[![Keep my Duolingo streak](https://github.com/rfoel/duolingo/actions/workflows/streak-keeper.yml/badge.svg?branch=main)](https://github.com/rfoel/duolingo/actions/workflows/streak-keeper.yml)

Script to farm Duolingo XP. Never get demoted again!

0 comments on commit 9e75bfc

Please sign in to comment.