diff --git a/.gitignore b/.gitignore index e0a8e771f..6a4ceeee4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ tmp-crx/ tmp-userscript/ testbuilds/ test.html +captchas-*.html Gruntfile.js diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 17cc23613..05a50a880 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -206,7 +206,7 @@ module.exports = (grunt) -> git checkout gh-pages git pull git merge --no-commit -s ours - - git checkout - README.md index.html web.css img captchas.html + git checkout - README.md index.html web.css img git commit -am "Update web page." git checkout - """.split('\n').join('&&') @@ -226,9 +226,10 @@ module.exports = (grunt) -> aws s3 cp img/ s3://<%= pkg.meta.awsBucket %>/img/ --recursive --cache-control "max-age=600" aws s3 cp index.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/html; charset=utf-8" aws s3 cp web.css s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/css; charset=utf-8" - aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8" git checkout - """.split('\n').join('&&') + captchas: + 'aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8"' npm: command: 'npm install' update: @@ -465,6 +466,10 @@ module.exports = (grunt) -> 'shell:poststore' ] + grunt.registerTask 'captchas', [ + 'shell:captchas' + ] + grunt.registerTask 'setversion', 'Set the version number', (version) -> pkg = grunt.file.readJSON 'package.json' oldversion = pkg.meta.version diff --git a/captchas.html b/captchas.html deleted file mode 100644 index 72cee6649..000000000 --- a/captchas.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - -Captcha complaints - - - -

Complain about broken captcha

-4chan feedback page -Tweet to @4chan and @hiroyuki_ni -reCAPTCHA Google Group -"Post error problem Questionnaire" thread - -