mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Tweak script order
This commit is contained in:
parent
9589cfacb8
commit
5011586b50
1 changed files with 3 additions and 3 deletions
|
|
@ -634,6 +634,9 @@ gulp.task('website', ['clean-website'], function() {
|
|||
cp.execSync('git init', {
|
||||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
cp.execSync('git remote add origin https://github.com/Microsoft/monaco-editor.git', {
|
||||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
cp.execSync('git checkout -b gh-pages', {
|
||||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
|
|
@ -643,9 +646,6 @@ gulp.task('website', ['clean-website'], function() {
|
|||
cp.execSync('git commit -m "Publish website"', {
|
||||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
cp.execSync('git remote add origin https://github.com/Microsoft/monaco-editor.git', {
|
||||
cwd: path.join(__dirname, '../monaco-editor-website')
|
||||
});
|
||||
console.log('RUN monaco-editor-website>git push origin gh-pages --force')
|
||||
this.emit('end');
|
||||
}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue