Skip to content

Instantly share code, notes, and snippets.

@skierkowski
Created July 17, 2014 05:22
Show Gist options
  • Save skierkowski/2998b1ec09811692325d to your computer and use it in GitHub Desktop.
Save skierkowski/2998b1ec09811692325d to your computer and use it in GitHub Desktop.
A .travis.yml file for building and deploying a mkdocs site to an S3 bucket
language: python
ptyhon:
- "2.7"
branches:
only:
- master
install:
- pip install mkdocs
script:
- mkdocs build
deploy:
provider: s3
access_key_id: xxx
secret_access_key:
secure: xxx
bucket: docs.factor.io
skip_cleanup: true
local-dir: site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment