From 3059a23213cbee5efcec99349888e0e8e6690c14 Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 20 Sep 2023 14:24:04 +0800 Subject: [PATCH] chore(CI): enable single-commit to reduce the repo size (#4686) --- .github/workflows/build-builder-website.yml | 2 ++ .github/workflows/build-devtools-website.yml | 2 ++ .github/workflows/build-main-website.yml | 2 ++ .github/workflows/build-module-website.yml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/build-builder-website.yml b/.github/workflows/build-builder-website.yml index 5fbb3c1b57f2..dd03f1c8c492 100644 --- a/.github/workflows/build-builder-website.yml +++ b/.github/workflows/build-builder-website.yml @@ -51,4 +51,6 @@ jobs: target-folder: modern-js/builder git-config-name: gh-pages-bot git-config-email: 41898282+github-actions[bot]@users.noreply.github.com + # enable single-commit to reduce the repo size + single-commit: true clean: true diff --git a/.github/workflows/build-devtools-website.yml b/.github/workflows/build-devtools-website.yml index cb547e7a41e0..9dfcede9a8dd 100644 --- a/.github/workflows/build-devtools-website.yml +++ b/.github/workflows/build-devtools-website.yml @@ -57,4 +57,6 @@ jobs: target-folder: devtools/${{ steps.vars.outputs.sha_short }} git-config-name: gh-pages-bot git-config-email: 41898282+github-actions[bot]@users.noreply.github.com + # enable single-commit to reduce the repo size + single-commit: true clean: true diff --git a/.github/workflows/build-main-website.yml b/.github/workflows/build-main-website.yml index f17d770a9148..c708d842c636 100644 --- a/.github/workflows/build-main-website.yml +++ b/.github/workflows/build-main-website.yml @@ -55,6 +55,8 @@ jobs: target-folder: modern-js git-config-name: gh-pages-bot git-config-email: 41898282+github-actions[bot]@users.noreply.github.com + # enable single-commit to reduce the repo size + single-commit: true clean: true clean-exclude: | v1/* diff --git a/.github/workflows/build-module-website.yml b/.github/workflows/build-module-website.yml index 4dfc6d30e944..25fc4216df6d 100644 --- a/.github/workflows/build-module-website.yml +++ b/.github/workflows/build-module-website.yml @@ -51,4 +51,6 @@ jobs: target-folder: modern-js/module-tools git-config-name: gh-pages-bot git-config-email: 41898282+github-actions[bot]@users.noreply.github.com + # enable single-commit to reduce the repo size + single-commit: true clean: true