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