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:
|
||||
- name: build-backend
|
||||
image: public.ecr.aws/composer/composer:latest
|
||||
image: composer:latest
|
||||
commands:
|
||||
- cd backend
|
||||
- composer install
|
||||
|
@ -13,7 +13,7 @@ steps:
|
|||
- rm -rf var/cache
|
||||
|
||||
- name: build-frontend
|
||||
image: public.ecr.aws/docker/library/node:16.13.1-alpine
|
||||
image: node:16.13.1-alpine
|
||||
commands:
|
||||
- cd frontend
|
||||
- npm install
|
||||
|
@ -23,7 +23,7 @@ steps:
|
|||
path: /drone/src/frontend/node_modules
|
||||
|
||||
- name: deploy-to-volume
|
||||
image: public.ecr.aws/docker/library/busybox:latest
|
||||
image: busybox:latest
|
||||
commands:
|
||||
- rm -rf /var/www-xrg.es/*
|
||||
- mv backend /var/www-xrg.es/backend
|
||||
|
@ -31,4 +31,4 @@ steps:
|
|||
- chown -R 82:82 /var/www-xrg.es/backend/var
|
||||
|
||||
node:
|
||||
location: hub
|
||||
location: nexus
|
||||
|
|
Loading…
Reference in New Issue