mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-04-23 11:22:12 +00:00
Delete gitlab-ci florian
This commit is contained in:
parent
f78a656f31
commit
5edf7af7fd
@ -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
|
14
gulpfile.js
14
gulpfile.js
@ -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'
|
||||
}));
|
||||
});
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user