From 2f53ee97c65b50b69fbcc103acdecf7c8648298f Mon Sep 17 00:00:00 2001 From: soulgalore Date: Sat, 28 Dec 2024 11:07:34 +0100 Subject: [PATCH] fix --- .github/workflows/netlify.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 5cda56cca5..6824a15984 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -21,14 +21,12 @@ jobs: changes=$(git diff --name-only HEAD~1 HEAD | grep '^docs/' || true) if [ -z "$changes" ]; then echo "No changes in /docs/. Skipping deployment." - echo "deploy=false" >> $GITHUB_ENV + echo "deploy=false" >> $GITHUB_OUTPUT else echo "Changes detected in /docs/. Proceeding with deployment." - echo "deploy=true" >> $GITHUB_ENV + echo "deploy=true" >> $GITHUB_OUTPUT fi - - - name: Deploy to Netlify if: steps.check_docs.outputs.deploy == 'true' env: