Skip to content
This repository
tree: c402b45bb0
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 26 lines (21 sloc) 0.656 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/usr/bin/env bash

# For when you want to publish to a static vhost.
#
# There are references to ROCCO_FILES for when you want to make the code
# comments available on github:pages (or elsewhere).
# http://gchef.github.com/chef-extensions is a good example for this use-case.
#
# Every deliver is a commit on the generated branch. This then gets pushed out
# to all remote hosts (or just to github:pages).

OPTIONAL_CONFIGS+=("GENERATED_DIR" "GENERATED_BRANCH" "GENERATE_CMD" "HOSTS")

BRANCH="$GENERATED_BRANCH"

run() {
  gitstatus
  authorize_hosts
  init_app_remotely
  generate
  commit_generated
  git_push
  git_reset_remote
  generated_cleanup
}
Something went wrong with that request. Please try again.