Изменил(а) на '.drone.yml'

main
vladimirkutkovoy 1 year ago
parent 4eb5e62d15
commit dce6d58483
  1. 4
      .drone.yml

@ -4,7 +4,7 @@ name: build-and-deploy
steps: steps:
# 1. Install dependencies and build the project # 1. Install dependencies and build the project
- name: install_and_build\ - name: install_and_build
image: node:18 image: node:18
volumes: volumes:
- name: host_build - name: host_build
@ -13,7 +13,7 @@ steps:
- npm install - npm install
- npm run build - npm run build
# Копируем результат сборки в смонтированную директорию на хосте # Копируем результат сборки в смонтированную директорию на хосте
- cp -r build/* /build/ - cp -r build/* /build/ Nginx and copy build files
# 2. Deploy Docker container with Nginx and copy build files # 2. Deploy Docker container with Nginx and copy build files
- name: deploy - name: deploy

Loading…
Cancel
Save