info:补充备注说明 #4
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
# This is a basic workflow to help you get started with Actions | |
name: sync to gitee | |
# Controls when the workflow will run | |
on: [push] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Sync to gitee | |
uses: wearerequired/git-mirror-action@master | |
env: | |
# 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY | |
SSH_PRIVATE_KEY: ${{ secrets.Z7CT7GK_MACOS_PRIVATE_KEY }} | |
with: | |
# 注意替换为你的 GitHub 源仓库地址 | |
source-repo: [email protected]:limit81995/dockerfast.git | |
# 注意替换为你的 Gitee 目标仓库地址 | |
destination-repo: [email protected]:limit81995/dockerfast.git |