From b587674651ae2093c10279d62afa05d360606fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=94=EB=83=A5?= Date: Mon, 10 Feb 2025 20:10:23 +0900 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8d41619 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 + +