Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit fe781b8

Browse files
author
Nick Litwin
committed
Add sequencing
1 parent e4f94d5 commit fe781b8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gulp-tasks/deploy.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
var merge = require('merge-stream');
22
var awspublishRouter = require('gulp-awspublish-router');
3+
var runSequence = require('run-sequence');
34

45
module.exports = function(gulp, $, config, utilities) {
56
'use strict';
67

7-
gulp.task('deploy', ['deploy:aws']);
8+
gulp.task('deploy', function() {
9+
runSequence('build', 'deploy:aws');
10+
}});
811

9-
gulp.task('deploy:aws', ['build'], function() {
12+
gulp.task('deploy:aws', function() {
1013
var awsConfig = {
1114
params: {
1215
Bucket: config.aws.bucket

0 commit comments

Comments
 (0)