Skip to content

feat: add production deployment workflow (WI-001002)#157

Open
Talleyrand333 wants to merge 3 commits into
stagingfrom
WI-001002
Open

feat: add production deployment workflow (WI-001002)#157
Talleyrand333 wants to merge 3 commits into
stagingfrom
WI-001002

Conversation

@Talleyrand333

Copy link
Copy Markdown
Contributor

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)

Is this a Feature, Chore or Bug?

  • [] Feature
  • [] Chore
  • [] 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?

- [] Yes
- [] No

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?

  • [] Existing Data
  • [] New Data

Was child table created?

- [] is attachment required?
    did you test attachment

Did you delete custom field?

- [] Yes
- [] No
    If yes, did you write a delete patch?

Is patch required?

  • [] Yes
  • [] No

    Was the patch tested?

Which browser(s) did you use for testing?

  • [] Chrome
  • [] Safari
  • [] Firefox

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)
Copilot AI review requested due to automatic review settings June 9, 2026 07:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml triggered by push to version-15 and 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.

Comment thread .github/workflows/deploy-production.yml
Comment thread .github/workflows/deploy-production.yml Outdated
Comment thread .github/workflows/deploy-production.yml Outdated
Comment thread .github/workflows/deploy-production.yml
Talleyrand333 and others added 2 commits June 9, 2026 08:36
- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants