Sfoglia il codice sorgente

Update Gruntfile and fix push

Jay Salvat 11 anni fa
parent
commit
e3db0c46ff
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      gruntfile.js

+ 3 - 3
gruntfile.js

@@ -71,7 +71,7 @@ module.exports = function(grunt) {
                     'git add -A releases/<%= pkg.version %>',
                     'git add -A releases/latest',
                     'git commit -m "Published v<%= pkg.version %>."',
-                    'git push',
+                    'git push origin gh-pages',
                     'git checkout -',
                     'rm -rf tmp/'
                 ].join(' && ')
@@ -94,8 +94,8 @@ module.exports = function(grunt) {
             },
             gitPush: {
                 cmd: [
-                    'git push origin gh-pages',
-                    'git push origin gh-pages --tags'
+                    'git push origin master',
+                    'git push origin master --tags'
                 ].join(' && ')
             }
         }