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
|
pipeline:
|
||||||
type: exec
|
build:
|
||||||
name: default
|
image: jekyll/builder
|
||||||
|
commands:
|
||||||
platform:
|
- chown -R jekyll /drone/src
|
||||||
os: linux
|
- jekyll build
|
||||||
arch: amd64
|
deploy:
|
||||||
|
image: cschlosser/drone-ftps
|
||||||
steps:
|
hostname: www71.your-server.de
|
||||||
- name: deploy
|
secrets: [ftp_username, ftp_password]
|
||||||
commands:
|
dest_dir: /public_html/bmen-jekyll
|
||||||
- docker-compose -f docker-compose-prod.yml down
|
src_dir: /_site
|
||||||
- docker-compose -f docker-compose-prod.yml up -d
|
clean_dir: true
|
Loading…
Reference in New Issue