mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Download stork executables on netlify
This commit is contained in:
parent
2d3bde51dd
commit
d0cae3fc1b
2 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue