Skip to content

Commit

Permalink
Setup continuous deploy (#436)
Browse files Browse the repository at this point in the history
This commit sets up continuous deploy with Travis. Whenever a changeset is merged into master, Travis will deploy the changes.

At this time, this commit deploys production and staging simultaneously. The deploy can be configured to have a branch that deploys master and a branch that deploys staging, but that seems like a bit much for a static site.
  • Loading branch information
jmhooper authored and konklone committed Jan 18, 2017
1 parent a6c926e commit e3916f8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .travis.yml
@@ -1,11 +1,15 @@
language: javascript

git:
submodules: false
sudo: false

script: echo "ran"

branches:
except:
- test-pr
language: ruby
script: bundle exec jekyll build
deploy:
edge: true
skip_cleanup: true
provider: cloudfoundry
username:
secure: F1SrnljcQS+Fh62drAbyDyTYPF6RtlCXoARQ/1iZN9Sv3u+CkbCwtXwwi77WRi+zb93WwZCkhZ4XNzW4QRlOnN/GYkhIOBNHTgL9Ff0uK3kycuUiwBnRKVxsDlvUp+e+T3Z6I95wgU8shbwVi0mUCg+7p72jA2HVSn/l0587MLc=
password:
secure: FRBIlx3lLUSXI4dryd7Cwhxiq8egzf2OjeeAiZDlarBAHkODEXicTsFahg2AmVld65oVy/d0uk2ua4UW7SiZ5KDTkE5VYTzjMLxEi+mKEtMlWbXWtGZcxDk86XKqkKymq/obQiLocL1nGog4yW1vhTlJNB7YP75jCH0MfJovQ/E=
api: https://api.fr.cloud.gov
organization: gsa-opp-analytics
space: analytics-dev
on:
branch: master
1 change: 1 addition & 0 deletions _config.yml
Expand Up @@ -17,6 +17,7 @@ exclude:
- requirements.txt
- system-security-plan.yml
- manifest.yml
- vendor

# defaults
defaults:
Expand Down

0 comments on commit e3916f8

Please sign in to comment.