diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index 79d16855e05..00000000000 --- a/netlify.toml +++ /dev/null @@ -1,2 +0,0 @@ -[build] - ignore = "GIT_COMMIT_MESSAGE=$(git show -s --format=%s $CACHED_COMMIT_REF) node ./scripts/ignore-netlify.js" diff --git a/scripts/ignore-netlify.js b/scripts/ignore-netlify.js deleted file mode 100644 index 7fbb58457f5..00000000000 --- a/scripts/ignore-netlify.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2024 Siemens AG - * - * SPDX-License-Identifier: MIT - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -const GIT_COMMIT_MESSAGE = process.env.GIT_COMMIT_MESSAGE; - -if (GIT_COMMIT_MESSAGE.includes('[deploy netlify]')) { - process.exit(1); -} - -process.exit(0);