From ddcc4a5c785e08220a25238337d1fef2e0d7839a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 9 Aug 2020 09:24:39 +0800 Subject: [PATCH] chore: Update element-react.yml --- .github/workflows/angular.cn.yml | 1 - .github/workflows/element-react.yml | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/angular.cn.yml b/.github/workflows/angular.cn.yml index b7f045900..12ffe406f 100644 --- a/.github/workflows/angular.cn.yml +++ b/.github/workflows/angular.cn.yml @@ -16,7 +16,6 @@ jobs: - name: Get Static run: | - rm -rf ./angular.cn git clone https://github.com/ng-docs/preview.angular.cn.git -b master --single-branch angular.cn --depth 1 - name: Deploy angular.cn diff --git a/.github/workflows/element-react.yml b/.github/workflows/element-react.yml index 0acccaf11..12c932f67 100644 --- a/.github/workflows/element-react.yml +++ b/.github/workflows/element-react.yml @@ -19,8 +19,8 @@ jobs: git clone https://github.com/ElemeFE/element-react -b gh-pages --single-branch element.react --depth 1 - name: Deploy element.react - uses: peaceiris/actions-gh-pages@v2.5.0 - env: - ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - PUBLISH_BRANCH: element.react - PUBLISH_DIR: ./element.react \ No newline at end of file + uses: peaceiris/actions-gh-pages@v3 + with: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_branch: element.react + publish_dir: ./element.react \ No newline at end of file