Staging to Production - #19
Merged
Merged
Conversation
Deployment workflow for testing environment
Create deploy-be-to-azure.yml
Update deploy-be-to-azure.yml
## What Adds automatic deployment triggering when a pull request is merged into `develop`, `staging`, `production`, or `testing`. Only the workflows whose code actually changed are triggered — a frontend-only PR deploys just the frontend, a backend-only PR deploys just the backend, and a PR touching both deploys both in parallel. ## Changes - **New workflow `trigger-deploy-on-merge.yml`** - Runs on `pull_request: closed` against `develop`, `staging`, `production`, and `testing`; proceeds only if the PR was actually merged (not just closed). - Maps the target branch to the environment name the deploy workflows expect (e.g. `develop` → `development`). - Uses `dorny/paths-filter@v3` to detect whether the merged PR changed `backend/**` or `frontend/**` (each deploy workflow's own file is included in its filter). - Calls the matching deploy workflow(s) as reusable workflows with `secrets: inherit`.
Trigger deployments automatically on PR merge, scoped to changed code
Changes the input parameters and the production branch
changes the input parameters
Update trigger-deploy-on-merge.yml
Sample change to check leadboard deployment
Update style.css
Changed workflow trigger to gh client
workflow changed
Repo link added
repo link added as workflow failed
Minor change to test backend deployment
Fix the error with deployment
Update deploy-be-to-azure.yml
Develop to stage merge
shweta2101
approved these changes
Jul 23, 2026
MashB
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Staging to production deployment