Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/deployer.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = function(args) {
help += ' branch: [branch]\n';
help += ' message: [message]\n\n';
help += ' extend_dirs: [extend directory]\n\n';
help += 'For more help, you can check the docs: ' + underline('http://hexo.io/docs/deployment.html');
help += 'For more help, you can check the docs: ' + underline('https://hexo.io/docs/deployment.html');

console.log(help);
return;
Expand Down
8 changes: 4 additions & 4 deletions test/parse_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ describe('parse config', () => {
// http
parseConfig({
repo: {
url: 'http://github.com/hexojs/hexojs.github.io.git',
url: 'https://github.com/hexojs/hexojs.github.io.git',
token: 'plain_text_token'
}
})[0].url.should.eql('http://[email protected]/hexojs/hexojs.github.io.git');
})[0].url.should.eql('https://[email protected]/hexojs/hexojs.github.io.git');

// token config for git scheme should be ignored
parseConfig({
Expand All @@ -147,10 +147,10 @@ describe('parse config', () => {
// http
parseConfig({
repo: {
url: 'http://github.com/hexojs/hexojs.github.io.git',
url: 'https://github.com/hexojs/hexojs.github.io.git',
token: '$GIT_TOKEN'
}
})[0].url.should.eql('http://[email protected]/hexojs/hexojs.github.io.git');
})[0].url.should.eql('https://[email protected]/hexojs/hexojs.github.io.git');

// token config for git scheme should be ignored
parseConfig({
Expand Down