1 | // IMPORTANT
|
2 | // ---------
|
3 | // This is an auto generated file with React CDK.
|
4 | // Do not modify this file.
|
5 |
|
6 | const parse = require('git-url-parse');
|
7 | var ghUrl = process.argv[2];
|
8 | const parsedUrl = parse(ghUrl);
|
9 |
|
10 | const ghPagesUrl = 'https://' + parsedUrl.owner + '.github.io/' + parsedUrl.name;
|
11 | console.log(ghPagesUrl);
|