We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7756646 commit 195d3cbCopy full SHA for 195d3cb
1 file changed
.github/workflows/leetcode.yml
@@ -0,0 +1,18 @@
1
+name: Sync LeetCode
2
+on:
3
+ workflow_dispatch:
4
+ schedule:
5
+ - cron: "0 0 * * *" # Runs once a day at 00:00 UTC
6
+
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Sync
12
+ uses: joshcai/leetcode-sync@v1.7
13
+ with:
14
+ github-token: ${{ github.token }}
15
+ leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }}
16
+ leetcode-session: ${{ secrets.LEETCODE_SESSION }}
17
+ destination-folder: "leetcode-solutions"
18
0 commit comments