1.0.10 • Published 10 years ago

grunt-docker-clone v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

grunt-docker-clone NPM version

Run a Docker build to a special branch.

$ npm install grunt-docker-clone

Docker-clone runs a Docker build into a branch of the same repo. Think GitHub's gh-pages, where there is a special branch of the same repo just for documentation/website data.

Task Configuration

There are only three options to configure your docker build:

'docker-clone': {
    build: {
        dir: 'src',
        branch: 'my-pages',
        index: 'optional/source.file.html'
    }
}

dir

Required. Directory of source files to run your Docker build against.

branch

Required. Branch name on origin to push your docs to.

index

Optional. Path relative to the docs-clone directory that leads to the rendered html file that will become your index.html file. This is useful when posting docs to the web as a landing page.

The task can be loaded like any other grunt contrib:

grunt.loadNpmTasks('grunt-docker-clone');

1.0.10

10 years ago

1.0.9

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago