From d63bf77118c5b626a0212ae37a40abc5821a1eee Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Fri, 17 Feb 2017 01:54:49 +0100 Subject: [PATCH] Add .gitlab-ci.yml the fun way --- plugins/github.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/github.rb b/plugins/github.rb index aac83d8..cb8bf6d 100644 --- a/plugins/github.rb +++ b/plugins/github.rb @@ -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