imbusy/buildspec.yml
2025-06-21 10:25:06 +09:00

29 lines
688 B
YAML

version: 0.2
phases:
install:
runtime-versions:
nodejs: 18
commands:
- echo cloning repository...
- git clone https://git.falsy.cat/falsycat/imbusy/ .
- find
- echo installing dependencies...
- cd frontend && npm ci && cd ..
- cd backend && npm ci && cd ..
build:
commands:
- echo building frontend...
- cd frontend && npm run build && cd ..
- echo building backend...
- cd backend && npm run build && cd ..
post_build:
commands:
- echo deploying frontend...
- cd frontend && npm run deploy && cd ..
- echo deploying backend...
- cd backend && npm run deploy && cd ..