macos-defaults/build/vuepress/build.js
Yann Bertrand 551a2158f5
👷 Add a VuePress build Action
Co-authored-by: Franck Abgrall <abgrallkefran@gmail.com>
2020-09-20 11:18:39 +02:00

9 lines
222 B
JavaScript

const fs = require('fs')
const YAML = require('yaml')
const writeTree = require('./write-tree')
const input = fs.readFileSync('../../defaults.yml', 'utf8')
const defaults = YAML.parse(input)
writeTree(defaults, 'docs')