revert(ci): no more bun

i give up. the bun wouldn't cool down.
This commit is contained in:
parent ec0210bb2e
commit 0183223f32
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -7,13 +7,13 @@ stages:
build_stage:
stage: build
# use node docker image as enviroment
image: oven/bun:debian
image: node:latest
script:
# install & build the NuxtJS application
- apt update
- apt-get install -y --no-install-recommends python3 build-essential
- bun install
- bun run --bun build
- npm install
- npm run build
# define artifacts which are shared between stages
artifacts:
paths:
@ -47,7 +47,7 @@ deploy_stage:
# restart Node.js and reload nginx configuration
- ssh rockfic@${DEPLOY_SERVER} 'mongosh mongodb://localhost --eval "use ${DB_NAME}; db.dropDatabase();"'
- ssh rockfic@${DEPLOY_SERVER} 'cd migrator && bun install && bun run ./index.ts'
- ssh rockfic@${DEPLOY_SERVER} bun --watch run "~/rockfic-staging/.output/server/index.mjs" \&\>/dev/null \& disown \%1
- ssh rockfic@${DEPLOY_SERVER} node run "~/rockfic-staging/.output/server/index.mjs" \&\>/dev/null \& disown \%1
- ssh rockfic@${DEPLOY_SERVER} systemctl reload apache2
environment:
name: staging