Files
Jeremy aa12cbba3f
Some checks failed
Build and Test / build (pull_request) Has been cancelled
fixed gitea action
2026-01-31 15:45:58 -05:00

25 lines
455 B
YAML

name: Build and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: production-runner
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Kill existing process
run: |
pkill site || true
- name: Build
run: cargo build --release
- name: Start Application
run: |
nohup ./target/release/site > server.log 2>&1 &