feat: add production deployment workflow (WI-001002)#157
Open
Talleyrand333 wants to merge 3 commits into
Open
Conversation
Adds deploy-production.yml that: - Triggers on push to version-15 and manual workflow_dispatch - SSHs into production server via appleboy/ssh-action (pinned v1.2.5) - Pulls latest from upstream version-15 - Runs yarn install + yarn build - Uses PRODUCTION_HOST/PRODUCTION_KEY secrets - Follows established patterns from other apps (script_stop, command_timeout, set -x)
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to deploy the version-15 branch to the production server via SSH, running git update + yarn install + yarn build on the target host.
Changes:
- Introduces
.github/workflows/deploy-production.ymltriggered by push toversion-15and manual dispatch. - Uses
appleboy/ssh-action(pinned) to run remote deployment commands on the production server.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Add concurrency group to prevent parallel deployments - Replace 'set -x' with 'set -euxo pipefail' for fail-fast behavior - Replace 'git pull' with deterministic 'git fetch + checkout + reset --hard' - Use 'yarn install --frozen-lockfile' for reproducible installs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Adds deploy-production.yml that:
Is this a Feature, Chore or Bug?
Clearly and concisely describe the feature, chore or bug.
Analysis and design (optional)
Analyse and attach the design documentation
Solution description
Describe your code changes in detail for reviewers.
Is there a business logic within a doctype?
Output screenshots (optional)
Post the output screenshots, if a UI is affected or added due to this feature.
Areas affected and ensured
List out the areas affected by your code changes.
Is there any existing behavior change of other features due to this code change?
Mention Yes or No. If Yes, provide the appropriate explanation.
Did you test with the following dataset?
Was child table created?
Did you delete custom field?
Is patch required?
Was the patch tested?
Which browser(s) did you use for testing?