Permalink
Browse files

Update documentation during theme deployment

  • Loading branch information...
Evan Herman
Evan Herman committed Aug 7, 2017
1 parent 4ba13c3 commit bbaac72b58b9b379b4d6d8c6f9c0e13d4fc3af64
Showing with 2 additions and 2 deletions.
  1. +1 −1 Gruntfile.js
  2. +1 −1 package.json
View
@@ -394,9 +394,9 @@ module.exports = function( grunt ) {
grunt.registerTask( 'default', [ 'sass', 'replace:charset', 'autoprefixer', 'cssjanus', 'cssmin', 'jshint', 'uglify', 'imagemin' ] );
grunt.registerTask( 'build', [ 'default', 'clean:build', 'copy:build' ] );
grunt.registerTask( 'check', [ 'devUpdate' ] );
grunt.registerTask( 'deploy-docs', [ 'update-docs', 'shell:deploy_docs' ] );
grunt.registerTask( 'readme', [ 'wp_readme_to_markdown' ] );
grunt.registerTask( 'update-docs', [ 'readme', 'clean:docs', 'replace:docs_version', 'replace:docs', 'shell:sphinx', 'shell:docs', 'copy:readme', 'copy:docs_html', 'copy:docs_landing', 'replace:intro' ] );
grunt.registerTask( 'deploy-docs', [ 'update-docs', 'shell:deploy_docs' ] );
grunt.registerTask( 'update-pot', [ 'makepot' ] );
grunt.registerTask( 'update-mo', [ 'potomo' ] );
grunt.registerTask( 'version', [ 'replace', 'readme', 'build' ] );
View
@@ -76,7 +76,7 @@
"susy": "^2.2.12"
},
"scripts": {
"version": "grunt version && git add -A .",
"version": "grunt version && grunt deploy-docs && git add -A .",
"postversion": "git push && git push --tags"
}
}

0 comments on commit bbaac72

Please sign in to comment.