From 17b1d9014b2e98c83b8036a0f18eb3a8ef5387fe Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Tue, 24 Aug 2021 15:27:36 -0700 Subject: [PATCH] chore: cleanup tasks --- gulp/tasks/deploy.js | 26 -------------------------- package.json | 8 +------- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/gulp/tasks/deploy.js b/gulp/tasks/deploy.js index 0f99d9393..27b79fb7a 100644 --- a/gulp/tasks/deploy.js +++ b/gulp/tasks/deploy.js @@ -3,8 +3,6 @@ var filter = require('gulp-filter'); var cleancss = require('gulp-clean-css'); var rename = require('gulp-rename'); var uglify = require('gulp-uglify'); -var confirm = require('gulp-prompt').confirm; -var rsync = require('gulp-rsync'); var replace = require('gulp-replace'); var octophant = require('octophant'); var readline = require('readline'); @@ -167,30 +165,6 @@ gulp.task('deploy:commit', function() { exec('git push origin develop --follow-tags'); }); -// Uploads the documentation to the live server -gulp.task('deploy:docs', gulp.series('build', function() { - return gulp.src('./_build/**') - .pipe(confirm('Make sure everything looks right before you deploy.')) - .pipe(rsync({ - root: './_build', - hostname: 'deployer@72.32.134.77', - destination: '/home/deployer/sites/foundation-sites-6-docs' - })); -})); - -// Uploads the documentation to the live server in beta env -gulp.task('deploy:beta', gulp.series('build', function() { - return gulp.src('./_build/**') - .pipe(confirm('Make sure everything looks right before you deploy.')) - .pipe(rsync({ - root: './_build', - hostname: 'deployer@72.32.134.77', - destination: '/home/deployer/sites/scalingsexiness/foundation-sites-6-docs' - })); -})); - - - // This part of the deploy process hasn't been tested! It should be done manually for now gulp.task('deploy:templates', function(done) { // exec('git clone https://github.com/foundation/foundation-sites-template'); diff --git a/package.json b/package.json index 87aa2f363..1190f89a0 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,7 @@ "test:bundle:single-process": "mocha-headless-chrome -a ignore-resource-errors -a single-process -a no-sandbox -a disable-setuid-sandbox -a disable-dev-shm-usage -f test/bundle/index.html", "test:visual": "gulp test --color", "deploy": "gulp deploy --color", - "deploy:prep": "gulp deploy:prep --color", - "deploy:docs": "gulp deploy:docs --color", - "deploy:beta": "gulp deploy:beta --color" + "deploy:prep": "gulp deploy:prep --color" }, "peerDependencies": { "jquery": ">=2.2.0", @@ -40,7 +38,6 @@ "@babel/preset-env": "^7.2.3", "@commitlint/cli": "^8.1.0", "@commitlint/config-conventional": "^7.3.1", - "array-uniq": "^2.0.0", "autoprefixer": "^9.4.5", "babel-loader": "^8.0.5", "browser-sync": "^2.18.12", @@ -66,17 +63,14 @@ "gulp-newer": "^1.1.0", "gulp-plumber": "^1.2.1", "gulp-postcss": "^8.0.0", - "gulp-prompt": "^1.2.0", "gulp-rename": "^1.2.2", "gulp-replace": "^1.0.0", - "gulp-rsync": "0.0.8", "gulp-sass": "^4.1.1", "gulp-sass-lint": "^1.4.0", "gulp-sourcemaps": "^2.6.4", "gulp-uglify": "^3.0.0", "gulp-zip": "^4.1.0", "husky": "^1.3.1", - "inquirer": "^6.2.1", "is-empty-object": "^1.1.1", "jquery": "^3.3.1", "js-yaml": "^3.12.1", -- 2.47.2