Add build and deploy workflow
All checks were successful
Build and Deploy / build-deploy (push) Successful in 31s

This commit is contained in:
2026-02-11 02:23:34 +00:00
parent 6fb06f2f88
commit 11034ec187

View File

@@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches: [master]
jobs:
build-deploy:
runs-on: ubuntu-latest
container:
image: oven/bun:latest
volumes:
- /var/www/drosterizer:/deploy
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Deploy
run: |
rm -rf /deploy/*
cp -r dist/* /deploy/