Skip to content

Commit 9d7e720

Browse files
author
Mohsen Azimi
committed
Remove preview gh-pages task
1 parent 77fbba2 commit 9d7e720

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

Gruntfile.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@ module.exports = function (grunt) {
5454
'build'
5555
]);
5656

57-
grunt.registerTask('ship', ['gh-pages:main']);
58-
59-
grunt.registerTask('preview', [
57+
grunt.registerTask('ship', [
6058
'build',
61-
'gh-pages:preview',
59+
'gh-pages',
6260
'shell:publish-npm'
6361
]);
6462

grunt/gh-pages.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,5 @@ module.exports = {
44
base: 'dist'
55
},
66
src: ['**']
7-
},
8-
preview: {
9-
options: {
10-
base: 'dist',
11-
repo: 'https://github.com/mohsen1/Swagger-Editor-2-Preview.git'
12-
},
13-
src: ['**']
147
}
158
};

0 commit comments

Comments
 (0)