Download stork executables on netlify

This commit is contained in:
Sam Carlton 2022-05-09 16:50:50 -05:00
parent 2d3bde51dd
commit d0cae3fc1b
2 changed files with 7 additions and 5 deletions

View file

@ -2,19 +2,20 @@ import fs from 'fs-extra'
import {
downloadStorkExecutable,
writeStorkToml
// writeStorkToml
} from './helpers/stork/toml.js'
;(async () => {
console.log( 'Downloading Stork executable...' )
await downloadStorkExecutable()
console.log( 'Building Stork index TOML...' )
// console.log( 'Building Stork index TOML...' )
// Get Sitemap Endpoints JSON
const sitemap = await fs.readJson( './static/sitemap-endpoints.json' )
// const sitemap = await fs.readJson( './static/sitemap-endpoints.json' )
await writeStorkToml( sitemap )
// await writeStorkToml( sitemap )
// From here we hand off to the Stork executable