This repository has been archived by the owner on Mar 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Publisher Workflow
hhegendo edited this page Jul 6, 2016
·
9 revisions
Wiki ▸ Publisher Workflow
The fact of pushing a tagged commit to master
will trigger the publication of
the website via TravisCI.
The logic for deciding when to publish is implemented by the prod:deploy
task
in Rakefile.
Build the site for production (website
repo):
(master) $ JEKYLL_ENV=production bundle exec jekyll build --future --config _config.yml
Copy the generate site in the publication repo euctrl-pru.github
:
(master/website) $ cd ../euctrl-pru.github.io
(master/euctrl-pru.github) $ git rm -rf * > /dev/null
(master/euctrl-pru.github) $ cp -r ../website/_site/* .
Commit and push all:
(master/euctrl-pru.github) $ git add --all .
(master/euctrl-pru.github) $ git commit -m 'release x.y.x'
(master/euctrl-pru.github) $ git push --force --quiet origin master