Create main.yml

This commit is contained in:
암냥 2025-02-10 20:10:23 +09:00 committed by GitHub
commit b587674651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

21
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,21 @@
on:
push:
branches: [main]
name: Web Build
jobs:
build:
name: Build the web
runs-on: web
steps:
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
copy:
name: Copy files
runs-on: web
steps:
- run: rm -rf /var/static/imnya.ng
- run: cp -r dist /var/static/imnya.ng