From 489aeb5ff6727072a0000206eb555102847e1288 Mon Sep 17 00:00:00 2001 From: Salman Faris Date: Tue, 3 Dec 2024 19:46:01 +0530 Subject: [PATCH] Set CI as False --- .github/workflows/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 03a4fb0..cd82585 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy GitHub Pages on: push: branches: - - main # Trigger the workflow on pushes to the 'main' branch + - main jobs: deploy: @@ -22,7 +22,10 @@ jobs: run: npm install # Install project dependencies - name: Build the React app - run: npm run build # Build the app for production + run: | + CI=false npm run build # Disable CI for the build step + env: + CI: false # Explicitly set CI to false (optional redundancy) - name: Set up custom domain run: | @@ -33,4 +36,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} # Use the GitHub token for authentication publish_dir: ./build # Publish the 'build' directory for deployment -