Move build commands into .build.yml

This commit is contained in:
stefan burke 2024-11-04 00:37:20 +00:00
parent 4d12632397
commit d108b74f49

View file

@ -15,4 +15,11 @@ secrets:
tasks:
- build: |
cd $repo
sh ./build-and-push
npm install
npm run build_pt1
lightningcss --minify --targets '> 0.25%, not IE 11' _site/style/*.css -o _site/style/*.css
npm run build_pt2
set +x
export NEOCITIES_API_KEY=$(cat /home/user/.neocities/vegan-prestwich)
set -x
neocities push --prune _site