update
This commit is contained in:
@ -8,17 +8,7 @@ steps:
|
||||
- echo '✅ success setup project'
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
- name: build-swagger
|
||||
image: node:22-alpine
|
||||
environment:
|
||||
NODE_ENV: prod
|
||||
commands:
|
||||
- npm run swagger
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- master
|
||||
|
||||
- name: build-src
|
||||
image: node:22-alpine
|
||||
@ -30,7 +20,7 @@ steps:
|
||||
- echo '✅ success compile typescript and ready to deploy'
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- master
|
||||
|
||||
- name: deploy
|
||||
image: docker
|
||||
@ -43,4 +33,4 @@ steps:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- master
|
||||
|
||||
Reference in New Issue
Block a user