Clarification for https credentials

In an effort to further clarify the documentation. I would like to clarify how to use https in combination with the credentials.
This commit is contained in:
Jeroendevr 2018-05-02 19:27:30 +02:00 committed by GitHub
parent db3ae69f3a
commit ee2581cc36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@ rules apply as for the [rsync deployment method :ref](../rsync/). The HTTPS
transport on the other hand accepts `--username` and `--password` which transport on the other hand accepts `--username` and `--password` which
override the values in the URL. override the values in the URL.
Example:
```ini
[servers.ghpages]
target = ghpages:https://username:pasword@your-user/your-user.github.io
```
## Behavior ## Behavior
The way this deployment support works is that it commits a new commit into a The way this deployment support works is that it commits a new commit into a