ci: build and publish
All checks were successful
ci / build_and_publish (push) Successful in 2m18s

This commit is contained in:
Chris Milne 2026-04-28 13:34:46 +01:00
parent f8b3b02daf
commit 92188b11f4

View file

@ -0,0 +1,26 @@
---
name: ci
on:
push:
branches:
- main
jobs:
build_and_publish:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm install
- run: npm run build
- run: npm install -g bnycdn
- run: bnycdn key set default ${{ secrets.BUNNY_API }}
- run: bnycdn key set likebutter ${{ secrets.BUNNY_FTP_PASSWORD }} --type=storages
- run: bnycdn cp -R -s likebutter ./build /likebutter/
- run: bnycdn pz purge -t likebutter