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

main
vladimirkutkovoy 1 year ago
parent 961eee2b19
commit c053895256
  1. 4
      .drone.yml

@ -5,7 +5,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 # Используем подходящий образ Node.js image: node
commands: commands:
- npm install - npm install
- npm run build - npm run build
@ -14,7 +14,7 @@ steps:
path: /drone/src path: /drone/src
# 2. Deploy Docker container with Nginx and copy build files # 2. Deploy Docker container with Nginx and copy build files
- name: deploy - name: deploy
image: docker:24.0.2 # Используем образ Docker для управления контейнерами image: docker
volumes: volumes:
- name: build - name: build
path: /drone/src path: /drone/src

Loading…
Cancel
Save