Changed Pipeline to Docker + FTP
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f3a931a0bd
commit
9beefcd0d5
26
.drone.yml
26
.drone.yml
|
@ -1,13 +1,13 @@
|
|||
kind: pipeline
|
||||
type: exec
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
- docker-compose -f docker-compose-prod.yml down
|
||||
- docker-compose -f docker-compose-prod.yml up -d
|
||||
pipeline:
|
||||
build:
|
||||
image: jekyll/builder
|
||||
commands:
|
||||
- chown -R jekyll /drone/src
|
||||
- jekyll build
|
||||
deploy:
|
||||
image: cschlosser/drone-ftps
|
||||
hostname: www71.your-server.de
|
||||
secrets: [ftp_username, ftp_password]
|
||||
dest_dir: /public_html/bmen-jekyll
|
||||
src_dir: /_site
|
||||
clean_dir: true
|
Loading…
Reference in New Issue