Skip to content

Commit bcac7ef

Browse files
committed
2 parents 751e14f + 8bf03e6 commit bcac7ef

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/schedule.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Update LeetCode gist
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
push:
6+
branches: main
7+
8+
jobs:
9+
update-leetcode-gist:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- run: npm install
14+
- name: Update LeetCode Gist
15+
uses: ./
16+
env:
17+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
18+
GIST_ID: ${{ secrets.GIST_ID }}
19+
LEETCODE_USERNAME: ${{ secrets.LEETCODE_USERNAME }}

0 commit comments

Comments
 (0)