fix(workflows): clean up node.yaml by removing unnecessary commented-out commands
Some checks failed
GBCI / build (push) Failing after 3h13m32s
Some checks failed
GBCI / build (push) Failing after 3h13m32s
This commit is contained in:
parent
dbc1611b74
commit
61d8cfe93c
1 changed files with 21 additions and 21 deletions
|
@ -12,32 +12,32 @@ jobs:
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
# - uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Setup Node.js
|
- name: Setup Node.js
|
||||||
# uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
# with:
|
with:
|
||||||
# node-version: '20'
|
node-version: '20'
|
||||||
# cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
# - name: Copy files to deployment location
|
- name: Copy files to deployment location
|
||||||
# run: |
|
run: |
|
||||||
# sudo cp -r ./* /opt/gbo/bin/BotServer/
|
sudo cp -r ./* /opt/gbo/bin/BotServer/
|
||||||
|
|
||||||
# - name: Install production dependencies in deployment location
|
- name: Install production dependencies in deployment location
|
||||||
# run: |
|
run: |
|
||||||
# echo "[General Bots Deployer] Building BotServer..."
|
echo "[General Bots Deployer] Building BotServer..."
|
||||||
# cd /opt/gbo/bin/BotServer
|
cd /opt/gbo/bin/BotServer
|
||||||
# sudo npm ci --production
|
sudo npm ci --production
|
||||||
# npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
||||||
# echo "[General Bots Deployer] Building default.gbui..."
|
echo "[General Bots Deployer] Building default.gbui..."
|
||||||
# cd /opt/gbo/bin/BotServer/packages/default.gbui
|
cd /opt/gbo/bin/BotServer/packages/default.gbui
|
||||||
# npm install
|
npm install
|
||||||
# npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Restart Bots Deployer
|
- name: Restart Bots Deployer
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue