diff --git a/deployment.rst b/deployment.rst index e20e06c7d44..06678dacf23 100644 --- a/deployment.rst +++ b/deployment.rst @@ -52,9 +52,10 @@ Using Source Control ~~~~~~~~~~~~~~~~~~~~ If you're using source control (e.g. Git or SVN), you can simplify by having -your live installation also be a copy of your repository. When you're ready -to upgrade it is as simple as fetching the latest updates from your source -control system. +your live installation also be a copy of your repository. When you're ready to +upgrade it is as simple as fetching the latest updates from your source control +system. When using Git, a common approach is to create a tag for each release +and check out the appropriate tag on deployment (see `Git Tagging`_). This makes updating your files *easier*, but you still need to worry about manually taking other steps (see `Common Post-Deployment Tasks`_). @@ -197,6 +198,7 @@ Don't forget that deploying your application also involves updating any dependen (typically via Composer), migrating your database, clearing your cache and other potential things like pushing assets to a CDN (see `Common Post-Deployment Tasks`_). +.. _`Git Tagging`: https://git-scm.com/book/en/v2/Git-Basics-Tagging .. _`Capifony`: http://capifony.org/ .. _`Capistrano`: http://capistranorb.com/ .. _`sf2debpkg`: https://github.com/liip/sf2debpkg