2017-06-07 04:11:44 -04:00
- expanded = Rails.env.test?
2017-10-14 02:10:37 -04:00
%section.settings.no-animate{ class: ('expanded' if expanded) }
2017-06-07 04:11:44 -04:00
.settings-header
%h4
2017-01-23 19:28:40 -05:00
Deploy Keys
2017-12-28 08:22:21 -05:00
%button.btn.js-settings-toggle.qa-expand-deploy-keys
2017-06-22 10:32:04 -04:00
= expanded ? 'Collapse' : 'Expand'
2016-04-25 11:26:41 -04:00
%p
2017-03-08 13:14:02 -05:00
Deploy keys allow read-only or read-write (if enabled) access to your repository. Deploy keys can be used for CI, staging or production servers. You can create a deploy key or add an existing one.
2017-10-14 02:10:37 -04:00
.settings-content
2016-04-25 11:26:41 -04:00
%h5.prepend-top-0
Create a new deploy key for this project
2017-01-31 09:12:02 -05:00
= render @deploy_keys.form_partial_path
2016-04-25 11:26:41 -04:00
%hr
2017-06-29 13:06:35 -04:00
#js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project) } }