@jwalsh/grunt-invalidate-cloudfront

1.0.4 • Public • Published

grunt-invalidate-cloudfront

Sends a invalidation request to Amazon CloudFront.

Getting Started

npm install @jwalsh/grunt-invalidate-cloudfront --save-dev

One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-invalidate-cloudfront');

The "invalidate_cloudfront" task

Example

In your project's Gruntfile, add a section named invalidate_cloudfront to the data object passed into grunt.initConfig().

grunt.initConfig({
  invalidate_cloudfront: {
    options: {
      distribution: 'XXXXXX'
    },
    production: {
      files: [{
        expand: true,
        cwd: './build/',
        src: ['**/*'],
        filter: 'isFile',
        dest: ''
      }]
    }
  }
})

Release History

  • 2013-05-05 - First release

Builds

Known Vulnerabilities

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    0
  • 1.0.3
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i @jwalsh/grunt-invalidate-cloudfront

Weekly Downloads

0

Version

1.0.4

License

none

Last publish

Collaborators

  • jwalsh