这是indexloc提供的服务,不要输入任何密码
Skip to content

Create a plugin that runs certain commands after deployment #1824

@jvanbaarsen

Description

@jvanbaarsen

When you deploy a Ruby on Rails application, and you have database changes, you need to migrate those, I can imagine that for certain other tech stacks "After deploy commands" are also common.

What do you think about a plugin that looks for a after_deploy.sh file in the /app directory, and if that file is present, run it. So you can have all kind of after_deploy code in there.

I see it working kinda the same as the HEALTH_CHECK file.

Looking forward to hear what you think.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions