fix(workflows): change build runner from CI to gbo
This commit is contained in:
parent
d83bb86af3
commit
c3ea648279
1 changed files with 13 additions and 18 deletions
|
@ -1,13 +1,15 @@
|
|||
name: GBCI
|
||||
run: git config --global http.sslVerify false
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
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: |
|
||||
|
|
Loading…
Add table
Reference in a new issue