Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
r3-pages
Commits
aafecd02
Verified
Commit
aafecd02
authored
Mar 11, 2020
by
Laurent Heirendt
✈
Browse files
update base image
parent
aae0df54
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
aafecd02
# In case something goes horribly wrong, you can fall back to `image: ruby:latest`
image
:
git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.
0
image
:
git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.
1
stages
:
-
build
...
...
@@ -10,7 +10,7 @@ stages:
build the website
:
stage
:
build
before_script
:
-
gem install bundler
-v
2.0.2
-
gem install bundler
:
2.0.2
-
bundle install && bundle update jekyll-theme-lcsb-default && bundle update jekyll-theme-lcsb-frozen-components
script
:
-
bundle exec jekyll build -d build --config "_config.yml,_config_staticpages.yml"
...
...
@@ -65,7 +65,7 @@ Create the backup:
artifacts
:
expire_in
:
2 weeks
paths
:
-
backups
-
backups
script
:
-
ssh -p $SSHPORT $SSHCONNECT "mkdir -p ~/web ~/backups/; cd /var/www/sites/r3lab.uni.lu; tar -zcvf ~/backups/backup_$(date +'%Y_%m_%d').tar.gz *"
-
ssh -p $SSHPORT $SSHCONNECT "cd ~/backups/; ls -tr | head -n -3 | xargs --no-run-if-empty rm "
...
...
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