runner location
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0c323ee7cb
commit
2a5eac7450
|
@ -4,7 +4,7 @@ name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-backend
|
- name: build-backend
|
||||||
image: public.ecr.aws/composer/composer:latest
|
image: composer:latest
|
||||||
commands:
|
commands:
|
||||||
- cd backend
|
- cd backend
|
||||||
- composer install
|
- composer install
|
||||||
|
@ -13,7 +13,7 @@ steps:
|
||||||
- rm -rf var/cache
|
- rm -rf var/cache
|
||||||
|
|
||||||
- name: build-frontend
|
- name: build-frontend
|
||||||
image: public.ecr.aws/docker/library/node:16.13.1-alpine
|
image: node:16.13.1-alpine
|
||||||
commands:
|
commands:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- npm install
|
- npm install
|
||||||
|
@ -23,7 +23,7 @@ steps:
|
||||||
path: /drone/src/frontend/node_modules
|
path: /drone/src/frontend/node_modules
|
||||||
|
|
||||||
- name: deploy-to-volume
|
- name: deploy-to-volume
|
||||||
image: public.ecr.aws/docker/library/busybox:latest
|
image: busybox:latest
|
||||||
commands:
|
commands:
|
||||||
- rm -rf /var/www-xrg.es/*
|
- rm -rf /var/www-xrg.es/*
|
||||||
- mv backend /var/www-xrg.es/backend
|
- mv backend /var/www-xrg.es/backend
|
||||||
|
@ -31,4 +31,4 @@ steps:
|
||||||
- chown -R 82:82 /var/www-xrg.es/backend/var
|
- chown -R 82:82 /var/www-xrg.es/backend/var
|
||||||
|
|
||||||
node:
|
node:
|
||||||
location: hub
|
location: nexus
|
||||||
|
|
Loading…
Reference in New Issue