gbserver/.forgejo/workflows/node.yaml
Rodrigo Rodriguez (Pragmatismo) 184a322c94
All checks were successful
GBCI / build (push) Successful in 5m2s
feat: Update CI/CD scripts and configurations for improved deployment and system management
2025-06-20 20:44:22 -03:00

34 lines
No EOL
701 B
YAML

name: GBCI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: gbo
steps:
- name: Disable SSL verification (temporary)
run: git config --global http.sslVerify false
- uses: actions/checkout@v4
- name: Install Rust
uses: msrd0/rust-toolchain@v1
with:
toolchain: stable
- name: Run build
run: cargo build --locked
- name: Deploy binary and restart
run: |
sudo cp ./target/debug/gbserver /opt/gbo/bin/system
sudo chmod +x /opt/gbo/bin/system/gbserver
lxc exec bot:pragmatismo-system -- systemctl restart system