added actions #1

Merged
jjanella merged 3 commits from rust-nix-refactor into main 2026-01-31 20:50:16 +00:00
Showing only changes of commit aa12cbba3f - Show all commits

View File

@@ -8,12 +8,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: production-runner
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4
- name: Run Application
run: cargo run --release
- name: Kill existing process
run: |
pkill site || true
- name: Upload artifacts
uses: actions/upload-artifact@v4
- name: Build
run: cargo build --release
- name: Start Application
run: |
nohup ./target/release/site > server.log 2>&1 &