gbserver/.forgejo/workflows/node.yaml
Rodrigo Rodriguez (Pragmatismo) 26adc27a80
Some checks failed
GBCI / build (push) Failing after 8s
feat: Update node.yaml workflow for improved build and deployment process
2025-06-19 20:36:43 -03:00

30 lines
No EOL
664 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: Run build
run: |
echo "$HOME/.cargo/bin" >> $GITHUB_PATH # Forgejo uses same syntax as GitHub Actions
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