-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.drone.yml
37 lines (34 loc) · 882 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
kind: pipeline
type: docker
name: build
steps:
- name: install
image: composer:2.8.5@sha256:2d927cdac840109c09fb3874d16f88056e01020da6fe5a0eace8533823b95159
commands:
- composer install
- name: build
image: php:8.4.4@sha256:a046c032d8399f7e0a5bbbc87b22ca69815cf463695781a238f95414d4cca2fd
commands:
- ./vendor/bin/daux generate
- name: deploy
image: cschlosser/drone-ftps@sha256:a376718d90e289d2d09860bf6d526bee2878f467dd61b819ec9e2c3eecc6821f
environment:
FTP_USERNAME:
from_secret: username
FTP_PASSWORD:
from_secret: password
PLUGIN_HOSTNAME:
from_secret: ftphost
PLUGIN_SRC_DIR: /static
PLUGIN_DEST_DIR: /
PLUGIN_MIRROR_OPTS: -e
PLUGIN_CLEAN_DIR: false
when:
event:
exclude:
- pull_request
trigger:
branch:
include:
- main