Files
site/.gitea/workflows/ci.yaml
Jeremy 7251f68b6f
Some checks failed
Build / build (push) Has been cancelled
change name of workflow
2026-01-31 16:00:44 -05:00

26 lines
447 B
YAML

name: Build
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 &