Skip to content

Commit

Permalink
[#1251] Xtext Website != Xtend Website
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
  • Loading branch information
cdietrich committed Aug 7, 2018
1 parent 064821a commit 65b05be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Jenkinsfile
Expand Up @@ -13,6 +13,7 @@ pipeline {
}
}
}

stage('Generate site') {
steps {
echo 'Building..'
Expand All @@ -30,6 +31,7 @@ pipeline {
}
}
}

stage('Commit changes') {
steps {
dir ('deploy-xtext-git-repo') {
Expand All @@ -42,7 +44,7 @@ pipeline {
}
dir ('deploy-xtend-git-repo') {
sh '''
cp -r $WORKSPACE/git-repo/xtext-website/_site/* .
cp -r $WORKSPACE/git-repo/xtend-website/_site/* .
git diff
git add --all :/ && git commit -m "Generated from commit: https://github.com/eclipse/xtext/commit/$GIT_COMMIT"
git status
Expand Down
5 changes: 4 additions & 1 deletion xtend-website/Gemfile
@@ -1,6 +1,9 @@
source 'https://rubygems.org'

gem 'therubyracer'
gem 'execjs'

group :jekyll_plugins do
gem 'jekyll-markdown-block'
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
end

0 comments on commit 65b05be

Please sign in to comment.