Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
static-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
a42d8a4248160323e36a031168277c7a57439fb1
1 parent
90de329d
deploy bugs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/ci/deploy.js
apps/ci/deploy.js
View file @
a42d8a4
...
...
@@ -50,7 +50,7 @@ class Deploy {
self
.
_state
(
'deploy code'
);
sh
.
cd
(
config
.
ci
);
let
child
=
sh
.
exec
(
`
gulp
upQiniu
--
name
=
$
{
self
.
project
.
name
}
--
time
=
$
{
self
.
building
.
buildTime
}
--
pkg
=
$
{
self
.
pkgName
}
`
,
{
let
child
=
sh
.
exec
(
`
gulp
upQiniu
--
name
=
$
{
self
.
project
.
name
}
--
time
=
$
{
self
.
building
.
buildTime
}
--
pkg
=
$
{
self
.
building
.
pkgName
}
`
,
{
async
:
true
});
...
...
@@ -72,7 +72,7 @@ class Deploy {
uri
:
'http://flushcache.yoho.cn/flushdaction.php'
,
type
:
'GET'
,
qs
:
{
url
:
`
http
:
//cdn.yoho.cn/${self.
project.n
ame}/${self.building.version}/`
url
:
`
http
:
//cdn.yoho.cn/${self.
building.pkgN
ame}/${self.building.version}/`
}
}).
then
(
data
=>
{
console
.
log
(
data
);
...
...
Please
register
or
login
to post a comment