gbserver/.forgejo/workflows/node.yaml
Rodrigo Rodriguez (Pragmatismo) 82c8e6dcd3
Some checks failed
GBCI / build (push) Failing after 5m54s
fix(gb-infra): Update Node workflow to run build step instead of tests
2025-04-27 17:43:24 -03:00

32 lines
No EOL
653 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/bot
sudo chmod +x /opt/gbo/bin/bot/gbserver
sudo systemctl restart gbserver