Closed techtonik closed 9 years ago
Deployment failed, and second push doesn't do anything.
...
remote: └── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)
remote: Warning: Task "minify" not found. Use --force to continue.
remote:
remote: Aborted due to warnings.
To grtp@grtp.co:production
e37a36f..69f7ea4 master -> master
This is the hook script from .git/hooks/post-receive
that needs to be deciphered:
#!/bin/sh
cd ..
env -i git reset --hard
# wipe out node_modules and reinstall
rm -rf node_modules
npm install .
# minify JS and JSON
npm install grunt-cli
./node_modules/grunt-cli/bin/grunt minify
# normalize permissions - shouldn't be needed, but here in case it becomes necessary
# chmod -Rf g+w .
Changed to:
#!/bin/sh
cd ..
# clean app all local changes
env -i git reset --hard
# wipe out node_modules and reinstall
make clean
make build
# normalize permissions - shouldn't be needed, but here in case it becomes necessary
# chmod -Rf g+w .
...
./node_modules/.bin/grunt build
Running "uglify:dist" (uglify) task
File www/v1.js created: 1.45 kB → 575 B
File www/v1/api.js created: 13.92 kB → 4.29 kB
Running "htmlmin:dist" (htmlmin) task
Minified www/v1/widgets/button.html 1.95 kB → 1.95 kB
Minified www/v1/widgets/default.html 2.3 kB → 2.3 kB
Minified www/v1/widgets/giving.html 2.29 kB → 2.29 kB
Done. )
@techtonik So is this closable?
@whit537 yes. Just hit the wrong button. =)
Because 0.1.3 is already deployed in #83, we need to tag/push another release to make Blogger gadgets available. http://grtp.co/v1/ should show them.