File: publi.sh

package info (click to toggle)
ruby-jekyll-polyglot 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,840 kB
  • sloc: xml: 12,011; ruby: 1,740; sh: 32; makefile: 4
file content (7 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download
1
2
3
4
5
6
7
#! /bin/sh
# change the branch names appropriately
rm -rf site/_site/
cd site && bundle exec jekyll build && cd ..
git add -f site/_site/ && git commit -m "$(date)"
git subtree push --prefix site/_site origin gh-pages