Add .gitlab-ci.yml the fun way

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-17 01:54:49 +01:00
parent 444160c548
commit d63bf77118
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class Ruhoh
return false unless checkout_deploy_branch
system("git", "rm", "-rf", ".")
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 =/
# Commit and push