Skip to content

Update LeetCode gist #321

Update LeetCode gist

Update LeetCode gist #321

Workflow file for this run

name: Update LeetCode gist
on:
schedule:
- cron: '0 0 * * *'
push:
branches: main
workflow_dispatch:
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 }}