You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 21, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.markdown
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ gitlab-le \
22
22
--production `# OPTIONAL - Obtain a real certificate instead of a dummy one and configure your repository to use it`
23
23
--path `# OPTIONAL - Absolute path in your repository where challenge files should be uploaded`
24
24
--jekyll `# OPTIONAL - Upload challenge files with a Jekyll-compatible YAML front matter` \
25
+
--branch `# OPTIONAL - Upload challenge files to this branch, default is the main branch of the repository` \
25
26
```
26
27
27
28
See `gitlab-le --help` for more details.
@@ -77,4 +78,4 @@ However, GitLab does not provide a way to automatically renew certificates, so t
77
78
78
79
## Automation
79
80
80
-
Since 10.2, GitLab provides an API to configure HTTPS certificates on a GitLab page, which means `gitlab-le` can be configured to obtain new certificates when your existing ones are about to expire.
81
+
Since 10.2, GitLab provides an API to configure HTTPS certificates on a GitLab page, which means `gitlab-le` can be configured to obtain new certificates when your existing ones are about to expire.
Copy file name to clipboardExpand all lines: args.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,15 @@ module.exports = yargs
34
34
describe: 'Obtain a real certificate instead of a dummy one and configure your repository to use it',
35
35
type: 'boolean',
36
36
default: false
37
+
}).option('branch',{
38
+
describe: 'Select the branch where the challenge files should be uploaded.',
39
+
type: 'string',
40
+
default: ''
37
41
}).example('$0 --domain example.com www.example.com --email [email protected] --repository https://gitlab.com/foo/example.gitlab.io --token abc123','Simple build where all files are served from public/ inside your repository')
38
42
.example('$0 --jekyll --path / --domain example.com --email [email protected] --repository https://gitlab.example.com/foo/myrepo --token abc123','Jekyll website that serves all valid files in your repository\'s root directory')
0 commit comments