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 + +