Update main.yml

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

View file

@ -6,14 +6,14 @@ name: Web Build
jobs: jobs:
build: build:
name: Build the web name: Build the web
runs-on: web runs-on: web-self-hosted
steps: steps:
- uses: oven-sh/setup-bun@v2 - uses: oven-sh/setup-bun@v2
- run: bun install - run: bun install
- run: bun run build - run: bun run build
copy: copy:
name: Copy files name: Copy files
runs-on: web runs-on: web-self-hosted
steps: steps:
- run: rm -rf /var/static/imnya.ng - run: rm -rf /var/static/imnya.ng
- run: cp -r dist /var/static/imnya.ng - run: cp -r dist /var/static/imnya.ng