From 6ca5d842fb65ce3627a38571b20270eb1a86b2c6 Mon Sep 17 00:00:00 2001 From: Dhananjay Balan Date: Tue, 8 Jan 2019 14:05:56 -0500 Subject: [PATCH] Remove gitlab-ci --- .gitlab-ci.yml | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index adac5ae..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -image: quay.io/dbalan/hakyll:master - -cache: - paths: - - _cache/ - - .stack-work/ - -test: - script: - - stack build - - LC_ALL=C.UTF-8 stack exec site clean - - LC_ALL=C.UTF-8 stack exec site build - -deploy: - before_script: - - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - - # run ssh-agent - - eval $(ssh-agent -s) - - # add ssh key stored in SSH_PRIVATE_KEY variable to the agent store - - ssh-add <(echo "$SSH_PRIV_KEY") - - # disable host key checking (NOTE: makes you susceptible to man-in-the-middle attacks) - # WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config - - mkdir -p ~/.ssh - - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - - script: - - stack build - - LC_ALL=C.UTF-8 stack exec site clean - - LC_ALL=C.UTF-8 stack exec site build - - scp -r public/* root@dbalan.in:/usr/local/www/nginx/blog/ - only: - - master - -