Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d62fbe3

Browse files
chore: update workflow (doocs#2251)
1 parent c44f920 commit d62fbe3

File tree

3 files changed

+18
-28
lines changed

3 files changed

+18
-28
lines changed

‎.github/workflows/deploy.yml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,20 @@ jobs:
4646
uses: peaceiris/actions-gh-pages@v3
4747
with:
4848
github_token: ${{ secrets.GITHUB_TOKEN }}
49-
publish_dir: ./site
49+
publish_dir: ./site
50+
51+
- name: Sync to gitee.com
52+
uses: wearerequired/git-mirror-action@master
53+
env:
54+
SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
55+
with:
56+
source-repo: git@github.com:doocs/leetcode.git
57+
destination-repo: git@gitee.com:Doocs/leetcode.git
58+
59+
- name: Build Gitee Pages
60+
uses: yanglbme/gitee-pages-action@main
61+
with:
62+
gitee-username: yanglbme
63+
gitee-password: ${{ secrets.GITEE_PASSWORD }}
64+
gitee-repo: doocs/leetcode
65+
branch: main

‎.github/workflows/sync.yml‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎overrides/partials/comments.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
66
data-category="Announcements"
77
data-category-id="DIC_kwDOCOGUlc4CZmhe"
88
data-mapping="pathname"
9-
data-strict="0"
9+
data-strict="1"
1010
data-reactions-enabled="1"
1111
data-emit-metadata="0"
1212
data-input-position="top"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /