Compare commits

...

3 commits

Author SHA1 Message Date
35e471a74f
Merge branch 'main' into stale
Some checks failed
CI / Build (pull_request) Failing after 3s
Label PRs based on size / Check PR size (pull_request) Successful in 7s
2025-09-15 06:34:23 +00:00
708bd3ac9a
feat: Add basic ci
Some checks failed
CI / Build (pull_request) Failing after 2s
Label PRs based on size / Check PR size (pull_request) Successful in 6s
Build and Push Docker Image / Build (push) Successful in 21s
2025-09-15 08:32:23 +02:00
9fe7723d13
fix: Fix routing
All checks were successful
Build and Push Docker Image / Build (push) Successful in 21s
2025-09-15 08:17:04 +02:00
4 changed files with 43 additions and 1 deletions

View file

@ -0,0 +1,16 @@
name: "Setup Environment"
description: ""
runs:
using: "composite"
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 24
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install

14
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,14 @@
name: CI
on:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: setup
uses: ./.forgejo/actions/setup
- name: build
run: bun run build

View file

@ -1,4 +1,5 @@
FROM nginx:stable-alpine
COPY build/client /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

11
default.conf Normal file
View file

@ -0,0 +1,11 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}