use opt
All checks were successful
Build / build (push) Successful in 2m45s

This commit is contained in:
2026-01-31 18:40:05 -05:00
parent 36a4af39f7
commit 351dfc2734

View File

@@ -10,21 +10,21 @@ jobs:
build:
runs-on: self-hosted
steps:
- name: Create path
run: |
mkdir -p /opt/site
cd /opt/site
- name: Checkout code
uses: actions/checkout@v4
- name: Kill existing process
run: |
pkill site || true
- name: Build
run: cargo build --release
- name: Where am I?
- name: Kill old site
run: |
pwd
ls -R
pkill site || true
- name: Start Application
- name: Start new site
run: |
nohup ./target/release/site > server.log 2>&1 &