gbserver/.forgejo/workflows/node.yaml
Rodrigo Rodriguez (Pragmatismo) 408c1c8158
Some checks failed
GBCI / build (push) Failing after 5m14s
feat: Update CI/CD scripts and configurations for improved deployment and system management
2025-06-20 20:36:47 -03:00

34 lines
No EOL
691 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
run: |
sudo cp ./target/release/gbserver /opt/gbo/bin/system
sudo chmod +x /opt/gbo/bin/system/gbserver
lxc exec bot:pragmatismo-system -- systemctl restart system