Skip to content

Commit

Permalink
Upgrade-Guide: Ergänzung
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Oct 16, 2023
1 parent 767b1c6 commit f4f3f94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Von 1.x auf 2.x
- ->set('user', 'ssh-12345')
+ ->setRemoteUser('ssh-12345')
- ->stage('production')
+ ->setLabels(['stage' => 'production') // oder ganz weglassen, wenn der Host-Name dem Stage-Namen entspricht
+ ->setLabels(['stage' => 'production']) // oder ganz weglassen, wenn der Host-Name dem Stage-Namen entspricht
```
* Die `default_stage`-Konfiguration ist entfallen. Stattdessen immer den Host angeben beim Deployen, falls es mehrere Server gibt.
Dazu auch https://deployer.org/docs/7.x/selector beachten.
Expand Down Expand Up @@ -55,3 +55,5 @@ Von 1.x auf 2.x
* Neue Command-Namen nutzen:
- `dep build` -> `dep build local`
- `dep local:setup` -> `dep setup local`
* Bei Problemen ggf. weitere Anpassungen gemäß [Upgrade-Guide](https://deployer.org/docs/7.x/UPGRADE) von deployer vornehmen.
Viele Anpassungen sind jedoch automatisch in YDeploy 2 enthalten. Insbesondere "Step 2" muss nicht beachtet werden, da sich YDeploy automatisch um die Fortführung der Release-Nummerierung kümmert.

0 comments on commit f4f3f94

Please sign in to comment.