2019-04-29 11:01:28 -04:00
- expanded = expanded_by_default?
2020-03-18 23:09:48 -04:00
%section.qa-deploy-keys-settings.settings.no-animate#js-deploy-keys-settings{ class: ('expanded' if expanded), data: { qa_selector: 'deploy_keys_settings' } }
2017-06-07 04:11:44 -04:00
.settings-header
%h4
2017-01-23 19:28:40 -05:00
Deploy Keys
2019-01-29 12:50:30 -05:00
%button.btn.js-settings-toggle{ type: 'button' }
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
2018-05-07 14:21:34 -04:00
#js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project), project_id: @project.id } }