Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sébastien Villemot
website
Commits
9f9dc04d
Verified
Commit
9f9dc04d
authored
Dec 06, 2018
by
Sébastien Villemot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deploy job
parent
e98ec345
Pipeline
#439
passed with stages
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
15 deletions
+20
-15
.gitlab-ci.yml
.gitlab-ci.yml
+20
-15
No files found.
.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
Markdown
is supported
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