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