From 0ec549f35bf1a9e0dcac73750e7dfd1c5bf10337 Mon Sep 17 00:00:00 2001 From: ksachin7 Date: Mon, 1 Apr 2024 22:14:08 +0530 Subject: [PATCH] fix: removing file change check --- .github/workflows/github.action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github.action.yml b/.github/workflows/github.action.yml index f2f5dc6..2e27e65 100644 --- a/.github/workflows/github.action.yml +++ b/.github/workflows/github.action.yml @@ -107,8 +107,8 @@ jobs: cd $dir # Check if there are commits in the branch - if git diff --name-only HEAD^ HEAD -- $dir; then - echo "New files added/updated in $dir. Proceeding with deployment." + # if git diff --name-only HEAD^ HEAD -- $dir; then + # echo "New files added/updated in $dir. Proceeding with deployment." # Print all the files changed between the parent commit and the current commit echo "Files changed:" @@ -133,9 +133,9 @@ jobs: ;; esac netlify deploy --prod --message "Deploy from GitHub Actions" --dir=dist --site=$NETLIFY_SITE_ID - else - echo "No new files added/updated in $dir. Skipping deployment." - fi + # else + # echo "No new files added/updated in $dir. Skipping deployment." + # fi cd .. done env: