init
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
XinWei 2024-07-29 10:12:57 +08:00
parent 2e4ab22717
commit 280bad318f

View File

@ -7,6 +7,11 @@ steps:
commands: commands:
- npm install - npm install
- npm run build - npm run build
- ls
- cd dist
- ls
- cd build
- ls
#- name: test #- name: test
# image: node:16.18.1 # image: node:16.18.1
@ -16,4 +21,4 @@ steps:
- name: deploy - name: deploy
image: nginx:1.21 image: nginx:1.21
commands: commands:
- cp -r build/* /usr/share/nginx/html - cp -r build/. /usr/share/nginx/html