File tree Expand file tree Collapse file tree 3 files changed +5
-44
lines changed Expand file tree Collapse file tree 3 files changed +5
-44
lines changed Original file line number Diff line number Diff line change 9
9
depth : 3
10
10
submodules : false
11
11
12
- env :
13
- global :
14
- - SAUCE_USERNAME=valorkin
15
- - SAUCE_ACCESS_KEY=aeaf806e-ad5c-484b-a8fe-4b4b9f54e99a
16
-
17
12
stages :
18
13
- name : precache
19
14
if : ( branch = development AND type = push ) OR type = pull_request
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
const fs = require ( 'fs-extra' ) ;
2
2
const exec = require ( 'child_process' ) . exec ;
3
3
4
+ const repoUrl = process . env . TRAVIS
5
+ ? 'https://github.com/valor-software/ngx-bootstrap.git'
6
+ : 'git@github.com:valor-software/ngx-bootstrap.git' ;
7
+
4
8
if ( ! fs . existsSync ( 'gh-pages' ) ) {
5
9
console . log ( 'Cloning the latest version of gh-pages' ) ;
6
- runCmd ( " git clone -b gh-pages --single-branch --depth 1 git@github.com:valor-software/ngx-bootstrap.git gh-pages" ) ;
10
+ runCmd ( ` git clone -b gh-pages --single-branch --depth 1 ${ repoUrl } gh-pages` ) ;
7
11
return ;
8
12
}
9
13
console . log ( 'Pulling the latest version of gh-pages' ) ;
You can’t perform that action at this time.
0 commit comments