Skip to content

mschimk1/heroku-buildpack-hugo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 

Repository files navigation

Cloud Foundry Hugo Buildpack

This is a Cloud Foundry buildpack for sites powered by Hugo.

This buildpack is a fork of the Heroku Hugo buildpack found here.

Important notes

This buildpack executes the Hugo server command which builds and serves the site.

The theme for the site must be specified in the Hugo configuration file.

Example

theme = "purehugo"

The buildpack downloads and installs the latest Hugo release. To fix the Hugo version number just add a .hugo-version file in the root directory of your site with the target Hugo release version number.

Example .hugo-version file contents

0.17

Usage

Simply push a Hugo site to Bluemix using this buildpack:

$ cf push "${CF_APP}" -b https://hub.jazz.net/git/mschimko/hugo-buildpack

Contributing

1- Fork the project

2- Submit a Pull Request

License

The MIT License (MIT)

Copyright (c) 2015 Roberto Dip

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Heroku buildpack for Hugo, the static site generator - https://github.com/spf13/hugo

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 100.0%