From ed54859cdcb4a464a58ea5da02c9dcb24fce90b6 Mon Sep 17 00:00:00 2001 From: Yang Libin <contact@yanglibin.info> Date: Mon, 18 Mar 2024 12:20:08 +0000 Subject: [PATCH] chore: update workflow --- .github/workflows/deploy.yml | 38 ++++++++++++++++++------------------ README.md | 3 +-- README_EN.md | 3 +-- 3 files changed, 21 insertions(+), 23 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a9517664f5008..baa237c450795 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,23 +59,23 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site - sync: - runs-on: ubuntu-latest - needs: deploy - if: github.repository == 'doocs/leetcode' - steps: - - name: Sync to gitee.com - uses: wearerequired/git-mirror-action@master - env: - SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }} - with: - source-repo: git@github.com:doocs/leetcode.git - destination-repo: git@gitee.com:Doocs/leetcode.git + # sync: + # runs-on: ubuntu-latest + # needs: deploy + # if: github.repository == 'doocs/leetcode' + # steps: + # - name: Sync to gitee.com + # uses: wearerequired/git-mirror-action@master + # env: + # SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }} + # with: + # source-repo: git@github.com:doocs/leetcode.git + # destination-repo: git@gitee.com:Doocs/leetcode.git - - name: Build Gitee Pages - uses: yanglbme/gitee-pages-action@main - with: - gitee-username: yanglbme - gitee-password: ${{ secrets.GITEE_PASSWORD }} - gitee-repo: doocs/leetcode - branch: gh-pages \ No newline at end of file + # - name: Build Gitee Pages + # uses: yanglbme/gitee-pages-action@main + # with: + # gitee-username: yanglbme + # gitee-password: ${{ secrets.GITEE_PASSWORD }} + # gitee-repo: doocs/leetcode + # branch: gh-pages \ No newline at end of file diff --git a/README.md b/README.md index b84c51257deeb..8431bfcb6e5fe 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,7 @@ ## 站点 -- GitHub Pages: https://doocs.github.io/leetcode -- Gitee Pages: https://doocs.gitee.io/leetcode +https://doocs.github.io/leetcode ## 算法全解 diff --git a/README_EN.md b/README_EN.md index 659d654846a97..332de667a3348 100644 --- a/README_EN.md +++ b/README_EN.md @@ -20,8 +20,7 @@ This project contains solutions for problems from LeetCode, "Coding Interviews ( ## Sites -- GitHub Pages: https://doocs.github.io/leetcode -- Gitee Pages: https://doocs.gitee.io/leetcode +https://doocs.github.io/leetcode ## Solutions