From 25acaf072a4f3342b73d648207fb32b32bdced5d Mon Sep 17 00:00:00 2001
From: Yang Libin <contact@yanglibin.info>
Date: Sat, 21 Nov 2020 17:49:09 +0800
Subject: [PATCH] fix: add deploy branch `gh-pages` (#3772)

---
 .github/workflows/sync.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml
index 30cbac7d..58eb53a3 100644
--- a/.github/workflows/sync.yml
+++ b/.github/workflows/sync.yml
@@ -15,9 +15,9 @@ jobs:
           SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
         with:
           # 注意替换为你的 GitHub 源仓库地址
-          source-repo: 'git@github.com:youzan/vant-weapp.git'
+          source-repo: git@github.com:youzan/vant-weapp.git
           # 注意替换为你的 Gitee 目标仓库地址
-          destination-repo: 'git@gitee.com:vant-contrib/vant-weapp.git'
+          destination-repo: git@gitee.com:vant-contrib/vant-weapp.git
 
       - name: Build Gitee Pages
         uses: yanglbme/gitee-pages-action@master
@@ -28,3 +28,5 @@ jobs:
           gitee-password: ${{ secrets.GITEE_PASSWORD }}
           # 注意替换为你的 Gitee 仓库
           gitee-repo: vant-contrib/vant-weapp
+          # 要部署的分支
+          branch: gh-pages