diff --git a/.github/workflows/sync-files2.yml b/.github/workflows/sync-files2.yml deleted file mode 100644 index b20a52e..0000000 --- a/.github/workflows/sync-files2.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Sync Files2 - -on: - repository_dispatch: - workflow_dispatch: - schedule: - - cron: 55 15 * * * - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: 准备完成 - uses: actions/checkout@main - - - name: 下载架构编译配置文件 - run: | - mkdir -p ./configfiles - cp -f $GITHUB_WORKSPACE/opfiles/* ./configfiles - rm -rf ./opfiles - - - name: 同步配置 - uses: peaceiris/actions-gh-pages@v3 - with: - personal_token: ${{ secrets.ACCESS_TOKEN }} - publish_branch: main - publish_dir: ./ - user_name: 'GitHub Action' - user_email: 'github-actions[bot]@github.com' - exclude_assets: '' - keep_files: true - commit_message: "Sync files" - - - name: 删除运行记录 - uses: xiaomeng9597/delete-workflow-runs@main - with: - retain_days: 1 - keep_minimum_runs: 1 - token: ${{ secrets.ACCESS_TOKEN }}