Skip to content

Commit 6f443df

Browse files
authored
chore: update workflow (doocs#2458)
1 parent e2b21d8 commit 6f443df

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

.github/workflows/deploy.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@ jobs:
5959
github_token: ${{ secrets.GITHUB_TOKEN }}
6060
publish_dir: ./site
6161

62-
sync:
63-
runs-on: ubuntu-latest
64-
needs: deploy
65-
if: github.repository == 'doocs/leetcode'
66-
steps:
67-
- name: Sync to gitee.com
68-
uses: wearerequired/git-mirror-action@master
69-
env:
70-
SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
71-
with:
72-
source-repo: git@github.com:doocs/leetcode.git
73-
destination-repo: git@gitee.com:Doocs/leetcode.git
62+
# sync:
63+
# runs-on: ubuntu-latest
64+
# needs: deploy
65+
# if: github.repository == 'doocs/leetcode'
66+
# steps:
67+
# - name: Sync to gitee.com
68+
# uses: wearerequired/git-mirror-action@master
69+
# env:
70+
# SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
71+
# with:
72+
# source-repo: git@github.com:doocs/leetcode.git
73+
# destination-repo: git@gitee.com:Doocs/leetcode.git
7474

75-
- name: Build Gitee Pages
76-
uses: yanglbme/gitee-pages-action@main
77-
with:
78-
gitee-username: yanglbme
79-
gitee-password: ${{ secrets.GITEE_PASSWORD }}
80-
gitee-repo: doocs/leetcode
81-
branch: gh-pages
75+
# - name: Build Gitee Pages
76+
# uses: yanglbme/gitee-pages-action@main
77+
# with:
78+
# gitee-username: yanglbme
79+
# gitee-password: ${{ secrets.GITEE_PASSWORD }}
80+
# gitee-repo: doocs/leetcode
81+
# branch: gh-pages

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121
## 站点
2222

23-
- GitHub Pages: https://doocs.github.io/leetcode
24-
- Gitee Pages: https://doocs.gitee.io/leetcode
23+
https://doocs.github.io/leetcode
2524

2625
## 算法全解
2726

README_EN.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ This project contains solutions for problems from LeetCode, "Coding Interviews (
2020

2121
## Sites
2222

23-
- GitHub Pages: https://doocs.github.io/leetcode
24-
- Gitee Pages: https://doocs.gitee.io/leetcode
23+
https://doocs.github.io/leetcode
2524

2625
## Solutions
2726

0 commit comments

Comments
 (0)