From aa3762f45dbb2a0991fe99bea2b485386a19f296 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Sat, 2 May 2020 19:36:08 +0800 Subject: [PATCH] fix: update sync.yml --- .github/workflows/sync.yml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 1210277..de40013 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -7,32 +7,11 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [8.x, 10.x, 12.x] steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install, build - uses: yanglbme/gitee-pages-action@master - env: - BRANCH: master # 存放产物的分支名称 - FOLDER: dist # 存放build后产物的目录 - BUILD_SCRIPT: npm install && npm run build # 执行的命令 - name: Sync to Gitee uses: wearerequired/git-mirror-action@master env: SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} with: source-repo: "git@github.com:doocs/md.git" - destination-repo: "git@gitee.com:Doocs/md.git" - - - name: Build Gitee Pages - uses: yanglbme/gitee-pages-action@master - with: - gitee-username: yanglbme - gitee-password: ${{ secrets.GITEE_PASSWORD }} - gitee-repo: doocs/md + destination-repo: "git@gitee.com:Doocs/md.git" \ No newline at end of file