2022-12-23 20:17:19 +11:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-12-29 00:43:24 +11:00
|
|
|
# Concourse Worker doesn't support IPv6 well yet.
|
|
|
|
function npm-ipv4() {
|
|
|
|
node --dns-result-order=ipv4first $(which npm) $*
|
|
|
|
}
|
|
|
|
npm-ipv4 install -Dy
|
|
|
|
npm-ipv4 -y exec webpack
|
2022-12-23 21:36:45 +11:00
|
|
|
cp ./node_modules/xterm/css/xterm.css ./assets/
|
2022-12-23 20:17:19 +11:00
|
|
|
cp dist/main.js ./assets/main.js
|
2023-02-18 21:40:21 +11:00
|
|
|
cd hugo-static
|
|
|
|
hugo --theme hugo-book
|