runner location
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2023-08-14 15:30:11 +02:00
parent 0c323ee7cb
commit 2a5eac7450
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
1 changed files with 4 additions and 4 deletions

View File

@ -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