Integration of github organistation with zerops
Hello how to get my repo of my orgranisation integrated with zerops for automatic triggers as i can see my personal account repos
10 Replies
@admin
you need to give Zerops permissions to your orgs
https://github.com/settings/connections/applications/4408deded6c1fed7193c
here
zerops:
- setup: web
# ==== how to build you application ====
build:
# what technologies should the build
# container be based on (can be an array)
base: nodejs@20
# what commands to use to build your app
buildCommands:
- pnpm install
- pnpm build
# select which files / folders to deploy
# after the build successfully finished
deployFiles:
- apps/web/.next
- apps/web/public
- packages
- node_modules
- pnpm-workspace.yaml
- package.json
- pnpm-lock.yaml
- turbo.json
- .npmrc
# *optional*: which files / folders
# to cache for the next build run
cache:
- node_modules
- .turbo
- pnpm-lock.yaml
# ==== how to run your application ====
run:
# what technology should the runtime
# container be based on, can be extended
# in
run.prepareCommands using
#
zsc install nodejs@20
base: nodejs@20
# what ports your app listens on
# and whether it supports http traffic
ports:
- port: 3000
httpSupport: true
# how to start your application
start: pnpm start
i got this for my monorepo setup
but i get nginx error when i deployare you sure the app is running correctly? what's in the runtime log?

473Z
2025-04-16T15:30:30.473Z > [email protected] start /var/www
2025-04-16T15:30:30.473Z > turbo start
2025-04-16T15:30:30.473Z
2025-04-16T15:30:30.538Z turbo 2.4.2
2025-04-16T15:30:30.538Z
2025-04-16T15:30:30.584Z • Packages in scope: @workspace/eslint-config, @workspace/typescript-config, @workspace/ui
2025-04-16T15:30:30.584Z • Running start in 3 packages
2025-04-16T15:30:30.584Z • Remote caching disabled
2025-04-16T15:30:30.591Z
2025-04-16T15:30:30.591Z No tasks were executed as part of this run.
2025-04-16T15:30:30.591Z
2025-04-16T15:30:30.591Z Tasks: 0 successful, 0 total
2025-04-16T15:30:30.591Z Cached: 0 cached, 0 total
2025-04-16T15:30:30.591Z Time: 34ms
2025-04-16T15:30:30.591Z
2025-04-16T15:30:30.869Z ━━━━ ✅ exec pnpm start ━━━━
2025-04-16T15:30:30.869Z
2025-04-16T15:30:30.869Z
2025-04-16T15:30:30.869Z ✅ RUN.START COMMAND FINISHED
2025-04-16T15:30:30.869Z
2025-04-16T15:30:30.869Z
2025-04-16T15:30:30.869Z
2025-04-16T15:30:30.000Z /opt/zerops/bin/zerops-zenv, pid 2029, exited with return code 0
2025-04-16T15:30:32.000Z Child command line: /opt/zerops/bin/zerops-zenv --zenv.executor.useExec
No tasks were executed as part of this run.it didn't start any server
is that because of turbo start
I don't know, how would you start the production server locally?
do the exact steps to start the server locally first, build it locally, start it locally, then literally just put the same commands in zerops.yml
you need to set
Type
to AAAA
A is for IPv4 addresses
AAAA is for IPv6 addressesaaa
mbb
i forgot
lol mb