-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhihuaiwen
committed
Feb 15, 2024
1 parent
58dcc2b
commit 3a7a76b
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,15 @@ jobs: | |
fqdn: wenzhihuai.com | ||
env: | ||
# @see https://docs.github.com/cn/actions/reference/authentication-in-a-workflow#about-the-github_token-secret | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Sync to Gitee | ||
uses: wearerequired/git-mirror-action@v1 | ||
env: | ||
# 在 Settings->Secrets 配置 GITEE_PRIVATE_KEY | ||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }} | ||
with: | ||
# GitHub 源仓库地址 | ||
source-repo: [email protected]:Zephery/MyWebsite.git | ||
# Gitee 目标仓库地址 | ||
destination-repo: [email protected]:zephery.com.cn/MyWebsite.git |