mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Improve website script
This commit is contained in:
parent
398b1e18de
commit
e602dddb6c
2 changed files with 3 additions and 3 deletions
|
|
@ -644,7 +644,7 @@ const buildWebsiteTask = taskSeries(cleanWebsiteTask, function() {
|
|||
});
|
||||
gulp.task('build-website', buildWebsiteTask);
|
||||
|
||||
gulp.task('website', taskSeries(buildWebsiteTask, function() {
|
||||
gulp.task('prepare-website-branch', async function() {
|
||||
cp.execSync('git init', {
|
||||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
|
|
@ -673,7 +673,7 @@ gulp.task('website', taskSeries(buildWebsiteTask, function() {
|
|||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
console.log('RUN monaco-editor-website>git push origin gh-pages --force');
|
||||
}));
|
||||
});
|
||||
|
||||
const generateTestSamplesTask = function() {
|
||||
var sampleNames = fs.readdirSync(path.join(__dirname, 'test/samples'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue