Commit 17dd127e authored by David Haynes's avatar David Haynes 🙆

Merge branch 'deploy-faster' into 'master'

Speed up deploy process

See merge request !79
parents 73419bd5 9b6f9a4c
image: ruby:2.3
stages:
- build
- deploy
......@@ -7,32 +5,31 @@ stages:
variables:
JEKYLL_ENV: production
before_script:
- cd srctweb/
- bundle install
build:
image: ruby:2.3
stage: build
before_script:
- cd srctweb/
- bundle install
script:
- bundle exec jekyll build --trace -d '../build'
- cd srctweb/
- bundle install
- bundle exec jekyll build --trace -d '../build'
artifacts:
paths:
- build
- build
deploy_staging:
image: alpine
stage: deploy
script:
- echo 'Deploy bot awayyy';
- echo 'Deploy bot awayyy';
environment:
name: staging
url: https://srct.gmu.io
deploy_production:
image: alpine
stage: deploy
script: echo "Deploy bot awayyyyy"
script:
- echo "Deploy bot awayyyyy"
environment:
name: production
url: https://srct.gmu.edu
......
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