Skip to content

(CI) Correct logic for detecting code-related changes in deploy script#130

Merged
MuhammedMagdyy merged 1 commit intomainfrom
ci/ignore-non-code-files
Sep 4, 2025
Merged

(CI) Correct logic for detecting code-related changes in deploy script#130
MuhammedMagdyy merged 1 commit intomainfrom
ci/ignore-non-code-files

Conversation

@MuhammedMagdyy
Copy link
Copy Markdown
Owner

This PR updates the deployment script to improve how it detects code-related changes versus documentation or ignored files. The main change is a correction in the logic that determines whether to run the full deploy process or just sync changes without a build.

Deployment logic fix:

  • In deploy.sh, the condition now correctly checks for only ignored patterns (like .md files, files in the docs/ directory, etc.) and runs a lightweight sync if only these files are changed. If other files are changed, it triggers the full deploy process.

@MuhammedMagdyy MuhammedMagdyy self-assigned this Sep 4, 2025
@MuhammedMagdyy MuhammedMagdyy added bug Something isn't working CI/CD Deployments labels Sep 4, 2025
@MuhammedMagdyy MuhammedMagdyy merged commit f72d545 into main Sep 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI/CD Deployments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant