You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wenn man dep deploy aufruft, greift der default_stage und nicht mehr alle Host .
Vorteil: Man deployed nicht durch Unachtsamkeit den Live-Server sondern nur die Testserver. Will man auch live deployen, muss man das immer explizit angeben dep deploy live
default_stage
Wenn man
dep deploy
aufruft, greift der default_stage und nicht mehr alle Host .Vorteil: Man deployed nicht durch Unachtsamkeit den Live-Server sondern nur die Testserver. Will man auch live deployen, muss man das immer explizit angeben
dep deploy live
deploy.php
default_stage setzen:
set('default_stage', 'test');
im Host stage setzen (kann mehrfach gesetzt werden)
Best Practice
zu Info:
dep deploy
besteht nun aus 2 Parts, lokal vorbereiten und aufspielen:https://github.com/yakamara/ydeploy/blob/master/deploy.php#L92-L95
die kann man auch einzeln ausführen.
dep build
und danach
dep release [host]
oder was ich manchmal mache:
dep deploy
(aufspielen auf Testserver gemäß default_stage)
dann testen, und wenn alles passt, den gleichen build, der lokal ja noch bereit liegt, auf live aufspielen:
dep release live
The text was updated successfully, but these errors were encountered: