update step

This commit is contained in:
2025-05-24 12:12:29 +09:00
parent 6eb71d51ff
commit b4db920300

View File

@ -8,17 +8,7 @@ steps:
- echo '✅ success setup project' - echo '✅ success setup project'
when: when:
branch: branch:
- main - master
- name: build-swagger
image: node:22-alpine
environment:
NODE_ENV: prod
commands:
- npm run swagger
when:
branch:
- main
- name: build-src - name: build-src
image: node:22-alpine image: node:22-alpine
@ -30,7 +20,7 @@ steps:
- echo '✅ success compile typescript and ready to deploy' - echo '✅ success compile typescript and ready to deploy'
when: when:
branch: branch:
- main - master
- name: deploy - name: deploy
image: docker image: docker
@ -43,4 +33,4 @@ steps:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
when: when:
branch: branch:
- main - master