mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
chore: force add the build files when updating gh-pages (#6904)
This commit is contained in:
committed by
GitHub
parent
6f64d1801a
commit
a7c342ec29
@@ -112,7 +112,8 @@ const updateGithubPages = gulp.series(
|
||||
packageTasks.cleanReleaseDir,
|
||||
buildTasks.build,
|
||||
function(done) {
|
||||
execSync('git add build/msg/* dist/*_compressed.js*', {stdio: 'inherit'});
|
||||
// The build and dist directories are normally gitignored, so we have to force add.
|
||||
execSync('git add -f build/msg/* dist/*_compressed.js*', {stdio: 'inherit'});
|
||||
execSync('git commit -am "Rebuild"', {stdio: 'inherit'});
|
||||
execSync('git push ' + upstream_url + ' gh-pages --force',
|
||||
{stdio: 'inherit'});
|
||||
|
||||
Reference in New Issue
Block a user