GitLab runner, how to deploy changes to deploy.php
?
#3702
Unanswered
nbennett25
asked this question in
Help needed
Replies: 1 comment
-
One way you could solve this is to create a stand alone deploy script and update this independently of the application you want to deploy. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a server set up with a GitLab runner, connected to a repository containing the
deployer/deployer
package, and a super basic recipe.When code is pushed to the repository, it kicks off a GitLab pipeline and deploys the code to the server as
localhost
rather than a remote; but how do I tell thevendor/bin/dep deploy
command to use an updated version ofdeploy.php
?for example:
When deployer runs, it goes to the doc root and runs
vendor/bin/dep deploy
- works as expected, but it's using whatever version ofdeploy.php
is in the current release, not the one in the new code.Is there a work around to pull the
deploy.php
before running thevendor/bin/dep
command...?(Maybe I'm going about this all wrong..?)
Beta Was this translation helpful? Give feedback.
All reactions