Try with a new container.

This commit is contained in:
Dhananjay Balan 2018-03-09 13:08:20 +01:00
parent 52197405d6
commit 73386ac255

View File

@ -1,14 +1,12 @@
image: fpco/stack-build:lts-10.8 image: quay.io/dbalan/hakyll:master
cache: cache:
paths: paths:
- /root/.stack/programs/
- _cache/ - _cache/
- .stack-work/ - .stack-work/
test: test:
script: script:
- stack setup
- stack build - stack build
- stack exec site build - stack exec site build
@ -27,12 +25,11 @@ deploy:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- stack setup
script: script:
- stack build - stack build
- stack exec site build - stack exec site build
- scp -r public root@dbalan.in:/usr/local/www/blog/ - scp -r public root@dbalan.in:/usr/local/www/blog/
only: only:
- master - master