gbserver/.forgejo/workflows/node.yaml
Rodrigo Rodriguez (Pragmatismo) 6d771bf264
Some checks failed
GBCI / build (push) Failing after 29m8s
feat: Refactor node.yaml workflow to streamline Rust installation step
2025-06-19 20:38:23 -03:00

34 lines
No EOL
677 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 --workspace --release --locked
- name: Deploy binary
run: |
sudo cp ./target/release/gbserver /opt/gbo/bin/system
sudo chmod +x /opt/gbo/bin/system/gbserver
sudo systemctl restart gbserver