Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
website
Commits
9f9dc04d
Verified
Commit
9f9dc04d
authored
Dec 06, 2018
by
Sébastien Villemot
Browse files
Add deploy job
parent
e98ec345
Pipeline
#440
passed with stages
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9f9dc04d
variables
:
TERM
:
linux
JEKYLL_ENV
:
production
before_script
:
-
export LC_ALL="C.UTF-8"
-
export LANG="en_US.UTF-8"
-
export LANGUAGE="en_US.UTF-8"
-
export GEM_HOME=$HOME/gems
-
export PATH=$HOME/gems/bin:$PATH
-
gem install jekyll
-
gem install bundler
-
bundle install
job
:
build
:
stage
:
build
tags
:
-
jekyll
variables
:
JEKYLL_ENV
:
production
before_script
:
-
export LC_ALL="C.UTF-8"
-
export LANG="en_US.UTF-8"
-
export LANGUAGE="en_US.UTF-8"
-
export GEM_HOME=$HOME/gems
-
export PATH=$HOME/gems/bin:$PATH
-
gem install jekyll
-
gem install bundler
-
bundle install
script
:
-
bundle exec jekyll build
artifacts
:
paths
:
-
_site
only
:
-
master
deploy
:
stage
:
deploy
tags
:
-
secure
dependencies
:
-
build
script
:
-
scp -r _site/* dynbot@eris.dynare.org:/srv/www.dynare.org/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment