Skip to content

Instantly share code, notes, and snippets.

@zkochan
Created January 4, 2016 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zkochan/8744924ebe0df54cbac9 to your computer and use it in GitHub Desktop.
Save zkochan/8744924ebe0df54cbac9 to your computer and use it in GitHub Desktop.
zx file example
start: "node app"
test: "gulp test"
docker:
build: "docker-compose build"
run: "docker-compose up"
docs:
clean: "rimraf _book"
prepare: "gitbook install"
build:
- "zx docs:prepare"
- "gitbook build"
watch:
- "zx docs:prepare"
- "gitbook serve"
publish:
- "zx docs:clean"
- "zx docs:build"
- "cd _book"
- "git init"
- "git commit --allow-empty -m \"update book\""
- "git checkout -b gh-pages"
- "touch .nojekyll"
- "git add ."
- "git commit -am \"update book\""
- "git push git@github.com:fosojs/cdn gh-pages --force"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment