gdal-async
Version:
Bindings to GDAL (Geospatial Data Abstraction Library) with full async support
15 lines (13 loc) • 404 B
JavaScript
const ghpages = require('gh-pages')
const path = require('path')
process.stdout.write('Publishing to "gh-pages" branch... ')
ghpages.publish(path.resolve(__dirname, '../doc'), { message: 'Updated documentation [skip ci]' }, (err) => {
if (err) {
process.stdout.write('error\n')
console.error(err)
process.exit(1)
} else {
process.stdout.write('success\n')
process.exit(0)
}
})