Tweak build
This commit is contained in:
parent
669058075e
commit
4b0248073a
|
@ -13,14 +13,12 @@ sources:
|
|||
secrets:
|
||||
- ff7f6e84-35b9-4aa9-afa1-1fbc3fe6a2d1 # ~/.neocities/$repo
|
||||
tasks:
|
||||
- setup: |
|
||||
cd $repo
|
||||
npm install
|
||||
- build: |
|
||||
cd $repo
|
||||
npm run build_pt1
|
||||
sass --no-source-map style:_site/style
|
||||
lightningcss --minify --targets '> 0.25%, not IE 11' _site/style/*.css -o _site/style/*.css
|
||||
npm run build_pt2
|
||||
npx @11ty/eleventy
|
||||
html-minifier --input-dir _site --output-dir _site --collapse-whitespace --file-ext html
|
||||
set +x
|
||||
export NEOCITIES_API_KEY=$(cat /home/user/.neocities/vegan-prestwich)
|
||||
set -x
|
||||
|
|
Loading…
Reference in a new issue