Commit 46e9d8f0 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'update-templates' into 'master'

Update templates

There was a copy pasta in the templates, therefor another MR with updates.

See merge request !5714
parents 2836b473 fda37b2f
.vscode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
# Full project: https://gitlab.com/pages/hexo
image: python:2.7
cache:
paths:
- vendor/
test:
stage: test
script:
- pip install hyde
- hyde gen
except:
- master
image: node:4.2.2
pages:
stage: deploy
cache:
paths:
- node_modules/
script:
- pip install hyde
- hyde gen -d public
- npm install hexo-cli -g
- npm install
- hexo deploy
artifacts:
paths:
- public
only:
- master
- master
......@@ -10,6 +10,9 @@ services:
- redis:latest
- postgres:latest
variables:
POSTGRES_DB: database_name
# Cache gems in between builds
cache:
paths:
......@@ -34,6 +37,9 @@ rspec:
- rspec spec
rails:
variables:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
script:
- bundle exec rake db:migrate
- bundle exec rake db:seed
- bundle exec rake test
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment