Skip to content

Merge pull request #231 from Match-Yang/main #112

Merge pull request #231 from Match-Yang/main

Merge pull request #231 from Match-Yang/main #112

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# 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"
MirrorForZHBuild:
runs-on: ubuntu-latest
if: github.repository == 'ZEGOCLOUD/docs_all'
steps: # <-- must use actions/checkout before mirroring!
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:ZEGOCLOUD/docs_zh.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.SSH_PRIVATE_KEY }}