Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
puiiyuen committed Nov 3, 2021
2 parents 751e14f + 8bf03e6 commit bcac7ef
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Update LeetCode gist
on:
schedule:
- cron: '0 0 * * *'
push:
branches: main

jobs:
update-leetcode-gist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- name: Update LeetCode Gist
uses: ./
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: ${{ secrets.GIST_ID }}
LEETCODE_USERNAME: ${{ secrets.LEETCODE_USERNAME }}

0 comments on commit bcac7ef

Please sign in to comment.