Skip to content

Commit

Permalink
chore: update deployment message gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
LevelbossMike committed May 20, 2021
1 parent 94295c4 commit e2ab122
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions config/deploy.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
/* eslint-env node */
'use strict';

module.exports = function (deployTarget) {
module.exports = function (/* deployTarget */) {
let ENV = {
build: {},
// include other plugin configuration that applies to all deploy targets here
git: {
commitMessage: 'chore: deploy %@',
},
};

if (deployTarget === 'development') {
ENV.build.environment = 'development';
// configure other plugins for development deploy target here
}

if (deployTarget === 'staging') {
ENV.build.environment = 'production';
// configure other plugins for staging deploy target here
}

if (deployTarget === 'production') {
ENV.build.environment = 'production';
// configure other plugins for production deploy target here
}

// Note: if you need to build some configuration asynchronously, you can return
// a promise that resolves with the ENV object instead of returning the
// ENV object synchronously.
return ENV;
};

0 comments on commit e2ab122

Please sign in to comment.