fix(workflows): change build runner from CI to gbo

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-03-26 20:34:11 -03:00
parent d83bb86af3
commit c3ea648279

View file

@ -1,4 +1,5 @@
name: GBCI
run: git config --global http.sslVerify false
on:
push:
branches: [ "main" ]
@ -6,8 +7,9 @@ on:
branches: [ "main" ]
jobs:
build-and-deploy:
build:
runs-on: gbo
steps:
- name: Disable SSL verification (temporary)
run: git config --global http.sslVerify false
@ -21,10 +23,6 @@ jobs:
node-version: '20'
cache: 'npm'
- name: Install TypeScript and compile
run: |
/opt/gbo/bin/BotServer/node_modules/.bin/tsc -p .
- name: Copy files to deployment location
run: |
@ -48,11 +46,8 @@ jobs:
- name: Transpile TypeScript
run: |
echo "[General Bots Deployer] Transpiling..."
cd /opt/gbo/bin/BotServer
npx tsc -v
npx tsc -p .
echo "[General Bots Deployer] Deployment Finished."
/opt/gbo/bin/BotServer/node_modules/.bin/tsc -p .
- name: Reload and enable service
run: |