Sync Leetcode #3391
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Leetcode | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 8 * * *" | |
#this runs once a week. ""0 8 * * 6" | |
#"0 8 * * *" runs at 8:00 AM every day | |
#"0 * * * *" #runs every hour | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: Sync | |
uses: joshcai/leetcode-sync@v1.6 | |
with: | |
github-token: ${{ secrets.LEETCODE_GITHUB_TOKEN }} | |
leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }} | |
leetcode-session: ${{ secrets.LEETCODE_SESSION }} | |
# destination-folder: my-folder |