Skip to content

Commit cfa6aa5

Browse files
authored
workflow setup
1 parent 4039d5f commit cfa6aa5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Sync Leetcode
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 8 * * 6"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Sync
14+
uses: joshcai/[email protected]
15+
with:
16+
github-token: ${{ github.token }}
17+
leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }}
18+
leetcode-session: ${{ secrets.LEETCODE_SESSION }}
19+
destination-folder: my-folder
20+
verbose: true
21+
commit-header: "[LeetCode Sync]"

0 commit comments

Comments
 (0)