Compare commits
No commits in common. "35e471a74fb78a0d8bdc553411a9cb3cb36dbf52" and "9ca02438737db591fcc127e0de5d6baedd2596cb" have entirely different histories.
35e471a74f
...
9ca0243873
4 changed files with 1 additions and 43 deletions
|
@ -1,16 +0,0 @@
|
||||||
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
|
|
|
@ -1,14 +0,0 @@
|
||||||
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
|
|
|
@ -1,5 +1,4 @@
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
COPY build/client /usr/share/nginx/html
|
COPY build/client /usr/share/nginx/html
|
||||||
COPY default.conf /etc/nginx/conf.d/default.conf
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
11
default.conf
11
default.conf
|
@ -1,11 +0,0 @@
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name localhost;
|
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
|
||||||
index index.html;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue