dokku deploy stuff
This commit is contained in:
parent
66451156f8
commit
8b878e6662
3
box.rb
3
box.rb
|
@ -28,6 +28,7 @@ files = [
|
||||||
"main.go",
|
"main.go",
|
||||||
"rice-box.go",
|
"rice-box.go",
|
||||||
"rss.go",
|
"rss.go",
|
||||||
|
"run.sh"
|
||||||
]
|
]
|
||||||
|
|
||||||
files.each { |x| put x }
|
files.each { |x| put x }
|
||||||
|
@ -41,7 +42,7 @@ run "cd /site && go1.8.1 build -v"
|
||||||
run %q[ rm -rf /root/go /site/backend /root/sdk /site/*.go ]
|
run %q[ rm -rf /root/go /site/backend /root/sdk /site/*.go ]
|
||||||
run %q[ apk del git go1.8.1 ]
|
run %q[ apk del git go1.8.1 ]
|
||||||
|
|
||||||
cmd "/site/site"
|
cmd "/site/run.sh"
|
||||||
|
|
||||||
flatten
|
flatten
|
||||||
tag "xena/christine.website"
|
tag "xena/christine.website"
|
||||||
|
|
Loading…
Reference in New Issue