diff --git a/.github/workflows/sync-gitee.yml b/.github/workflows/sync-gitee.yml index e6e7a9007d..69db81efdb 100644 --- a/.github/workflows/sync-gitee.yml +++ b/.github/workflows/sync-gitee.yml @@ -1,8 +1,9 @@ name: Sync to Gitee on: - push: - branches: [v4] + workflow_dispatch: + schedule: + - cron: '0 1 * * *' jobs: deploy-site-sync-gitee: diff --git a/.github/workflows/sync-h5.yml b/.github/workflows/sync-h5.yml index 79d6a2b244..e5d57fd81d 100644 --- a/.github/workflows/sync-h5.yml +++ b/.github/workflows/sync-h5.yml @@ -7,6 +7,7 @@ on: paths: - '.github/workflows/**' - 'src/**' + - 'package.json' jobs: copy: diff --git a/.github/workflows/sync-pkg.yml b/.github/workflows/sync-pkg.yml index 16bcfbab45..00686ab83a 100644 --- a/.github/workflows/sync-pkg.yml +++ b/.github/workflows/sync-pkg.yml @@ -36,7 +36,7 @@ jobs: with: branch: pkg # action 应该部署到的分支 。 folder: publish #操作应该部署的文件夹 。 - clean: false + clean: true target-folder: publish git-config-name: github-actions git-config-email: action@github.com diff --git a/.github/workflows/sync-taro.yml b/.github/workflows/sync-taro.yml index 4bf337819a..0713819539 100644 --- a/.github/workflows/sync-taro.yml +++ b/.github/workflows/sync-taro.yml @@ -7,6 +7,7 @@ on: paths: - '.github/workflows/**' - 'src/**' + - 'package.json' jobs: copy: