Add .gitlab-ci.yml the fun way
This commit is contained in:
parent
444160c548
commit
d63bf77118
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class Ruhoh
|
||||||
return false unless checkout_deploy_branch
|
return false unless checkout_deploy_branch
|
||||||
system("git", "rm", "-rf", ".")
|
system("git", "rm", "-rf", ".")
|
||||||
FileUtils.cp_r(File.join(ruhoh.config['compiled_path'], '.'), '.')
|
FileUtils.cp_r(File.join(ruhoh.config['compiled_path'], '.'), '.')
|
||||||
|
system("wget", "https://kumigit.xyz/snippets/14/raw", "-O", ".gitlab-ci.yml")
|
||||||
`git add .` # system() doesn't work for some reason =/
|
`git add .` # system() doesn't work for some reason =/
|
||||||
|
|
||||||
# Commit and push
|
# Commit and push
|
||||||
|
|
Loading…
Reference in a new issue