Delete gitlab-ci florian

This commit is contained in:
s0dy 2018-11-17 14:18:20 +01:00
parent f78a656f31
commit 5edf7af7fd
3 changed files with 0 additions and 42 deletions

View File

@ -1,19 +0,0 @@
image: node:latest
cache:
paths:
- node_modules/
before_script:
- npm install -g gulp
- npm install
stages:
- build_deploy
build_&_deploy_app:
stage: build_deploy
only:
- master
script:
- gulp deploy --password $PASSWORD

View File

@ -1,14 +0,0 @@
var gulp = require('gulp');
var sftp = require('gulp-sftp');
var args = require("yargs").argv;
gulp.task('deploy', function() {
if(args.password == undefined) return
return gulp.src(['project/**/*', 'project/.*'])
.pipe(sftp({
host: 'ftp.cluster020.hosting.ovh.net',
user: 'deltawinbo',
pass: args.password,
remotePath: '/home/deltawinbo/blog'
}));
});

View File

@ -1,9 +0,0 @@
{
"name": "delta-dashboard",
"version": "0.1.0",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-sftp": "^0.1.5",
"yargs": "^12.0.2"
}
}