Created
January 4, 2016 14:39
-
-
Save zkochan/8744924ebe0df54cbac9 to your computer and use it in GitHub Desktop.
zx file example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected]:fosojs/cdn gh-pages --force" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment