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