2023-03-18 10:48:58 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: build
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2023-08-14 13:23:42 +00:00
|
|
|
image: composer:latest
|
2023-03-18 10:48:58 +00:00
|
|
|
commands:
|
|
|
|
- cd app
|
|
|
|
- composer install
|
|
|
|
|
|
|
|
- name: deploy-to-volume
|
2023-08-14 13:23:42 +00:00
|
|
|
image: busybox:latest
|
2023-03-18 10:48:58 +00:00
|
|
|
commands:
|
|
|
|
- cd app
|
|
|
|
- rm -rf /var/www-dencode/*
|
|
|
|
- cp -r . /var/www-dencode/
|
|
|
|
|
|
|
|
node:
|
2023-08-14 13:23:42 +00:00
|
|
|
location: nexus
|