Create main.yml
This commit is contained in:
parent
b98f8280f3
commit
b587674651
1 changed files with 21 additions and 0 deletions
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal 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
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue