Closed jifeon closed 10 years ago
Yep, deploying to GitHub Pages is easy:
var gulp = require('gulp');
var deploy = require("gulp-gh-pages");
gulp.task('deploy', function () {
gulp.src('build/**')
.pipe(deploy(options));
});
And here is a deployment scenario via SCP:
var gulp = require('gulp');
var scp = require('gulp-scp');
gulp.task('deploy', function () {
gulp.src('build/**')
.pipe(scp({
host: '255.255.255.255',
user: 'username',
port: 22,
path: '~/dir'
}));
});
This will go to the FAQ.
Just have added to the FAQ:
Thank you
What about deploy not to Amazon? It is really the great quest to register an Amazon account. I think deploy to gh-pages would be much easier. Also deploy to my own server through scp for example whould be useful too.