Add GitHub token and deploy a feature branch for now

This commit is contained in:
Greg Karékinian
2017-04-28 10:23:04 +02:00
parent 2e5b27f848
commit 34653dc7d6
2 changed files with 21 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ application schlupp_xmpp_path do
git "git@gitlab.com:5apps/schlupp.git" do
user "hubot"
group "hubot"
revision "master"
revision "feature/add_staging_label"
deploy_key schlupp_xmpp_data_bag_item['deploy_key']
end
@@ -92,7 +92,8 @@ application schlupp_xmpp_path do
"REDIS_URL" => "redis://localhost:6379/5apps_schlupp_xmpp",
"RS_OPS_TOKEN" => schlupp_xmpp_data_bag_item['rs_ops_token'],
"WEBHOOK_TOKEN" => schlupp_xmpp_data_bag_item['webhook_token'],
"AIRTABLE_API_KEY" => schlupp_xmpp_data_bag_item['airtable_api_key'] }
"AIRTABLE_API_KEY" => schlupp_xmpp_data_bag_item['airtable_api_key'],
"GITHUB_TOKEN" => schlupp_xmpp_data_bag_item['github_token'] }
)
notifies :run, "execute[systemctl daemon-reload]", :delayed