This commit is contained in:
parent
74580b7aa9
commit
199d5de23d
16
.drone.yml
16
.drone.yml
@ -8,12 +8,12 @@ steps:
|
||||
- npm install
|
||||
- npm run build
|
||||
|
||||
- name: test
|
||||
image: node:16.18.1
|
||||
commands:
|
||||
- npm run test
|
||||
|
||||
#- name: deploy
|
||||
# image: nginx:1.21
|
||||
#- name: test
|
||||
# image: node:16.18.1
|
||||
# commands:
|
||||
# - cp -r build/* /usr/share/nginx/html
|
||||
# - npm run test
|
||||
|
||||
- name: deploy
|
||||
image: nginx:1.21
|
||||
commands:
|
||||
- cp -r build/* /usr/share/nginx/html
|
Loading…
Reference in New Issue
Block a user