Last active
December 20, 2015 00:09
-
-
Save marcoraddatz/6039491 to your computer and use it in GitHub Desktop.
Capistrano-Config für das Deployment auf all-inkl.com. Weitere Infos unter http://blog.marcoraddatz.com/blogs/4/SSH-Zugriff+per+Public-Key%2C+Git+und+Capistrano+auf+all-inkl.com+einrichten
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pfad zum Git auf dem Server | |
set :repository, 'file:///VERZEICHNISNAME.git' | |
# Eure Domain | |
set :domain , 'domain.tld' | |
# SSH-Nutzer | |
set :user , 'ssh-w00000x' | |
# Verwendung von Git | |
set :scm , 'git' | |
# All-inkl braucht den Hinweis, dass der Code lokal ist. | |
set :local_repository, 'file://.' | |
# Der Branch, aus dem wir deployen möchten | |
set :branch , 'master' # | |
# Wir möchten keinen Sudo-Nutzer | |
set :use_sudo , false | |
# Verzeichnis, in das wir deployen möchten | |
set :deploy_to, '/www/htdocs/w00000x/' | |
# Login via SSH-Keys (s.o.) | |
ssh_options[:forward_agent] = true | |
# Nur auf diese Seite deployen | |
role :website, domain, :primary => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment