From be7f78c05a790c9a1501825d110c3b917f496a47 Mon Sep 17 00:00:00 2001 From: jonghyeon Date: Mon, 18 Mar 2024 12:33:26 +0900 Subject: [PATCH] init --- .github/workflows/sync_leetcode.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sync_leetcode.yml diff --git a/.github/workflows/sync_leetcode.yml b/.github/workflows/sync_leetcode.yml new file mode 100644 index 0000000..015de15 --- /dev/null +++ b/.github/workflows/sync_leetcode.yml @@ -0,0 +1,22 @@ +name: Sync Leetcode + +on: + workflow_dispatch: + schedule: + - cron: "0 8 * * 6" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: LeetCode Sync + uses: joshcai/leetcode-sync@v1.5 + + with: + github-token: ${{ github.token }} + leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }} + leetcode-session: ${{ secrets.LEETCODE_SESSION }} + + +