1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 12:32:42 +00:00

Copy published build into /published folder so we can do diffs on future changes

This commit is contained in:
Jocelyn Badgley (Twipped)
2020-10-12 15:16:55 -07:00
parent 4889ee81d0
commit a9b416f7bd
3 changed files with 13 additions and 1 deletions

View File

@@ -11,3 +11,8 @@ exports.dev = function cleanDistributionForDev () {
return src([ 'dist/**.{js|json|jsx}', 'rev-manifest.json', 'pages.json', 'assets.json' ], { read: false, allowEmpty: true })
.pipe(clean());
};
exports.prodBackup = function cleanProdCopy () {
return src([ 'published' ], { read: false, allowEmpty: true })
.pipe(clean());
};