Sha256: 2b19159e64be655c0053b92279df766712cb966a351f6b1e0f4b5756f2eb2a4f
Contents?: true
Size: 1.89 KB
Versions: 4
Compression:
Stored size: 1.89 KB
Contents
Automated deploy with Travis CI =============================== Kickster can also work with [Travis CI](https://travis-ci.org/), follow the steps below to set it up. ## Automated deployment with TravisCI Automated deployment is by default not included in your Kickster generated Jekyll project. Please follow the steps below to include automated deployment with travis. *Note that changes will only deploy when your code is merged into master.* #### 1. Copy the required automated deploy script Copy the [automated](https://github.com/nielsenramon/kickster/blob/master/snippets/travis/automated) script inside the `/bin` folder of your project (make sure the file has execute permissions!). #### 2. Add `.travis.yml` Copy the `.travis.yml` from the [snippets](https://github.com/nielsenramon/kickster/blob/master/snippets/travis/.travis.yml) folder inside the `/bin` folder of your project(make sure the file has execute permissions!). And adjust the following 2 lines with your information: - USERNAME: <your-github-username> - EMAIL: <your-github-email> #### 3. Create a personal access token This is required to push to the GitHub repo from a script. In GitHub go to `settings > Personal access tokens` and create a new one. First give it a proper name so it is easy to recognize later. Then check `repo` (check `public_repo` if it is a public repository) and click on create. <img src="https://dl.dropboxusercontent.com/u/20823269/kickster-token.png" alt="Screenshot of token generation in GitHub"> Copy the generated token. *Don't forget to enable your repository in [Travis CI](https://travis-ci.org/).* Go back to your project in terminal and input the following: gem install travis travis encrypt GITHUB_TOKEN=secret-token-from-github --add This added a line inside your `.travis.yml` file like this: secure: <encrypted token> That's it, enjoy your automated deployments from now on!
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kickster-1.5.0 | snippets/travis/README.md |
kickster-1.4.0 | snippets/travis/README.md |
kickster-1.3.0 | snippets/travis/README.md |
kickster-1.2.0 | snippets/travis/README.md |