Mise à jour de '.drone.yml'
This commit is contained in:
parent
c5d0fab21d
commit
16b8012669
@ -7,7 +7,9 @@ platform:
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
steps:
|
||||
|
||||
- name: git pull submodules
|
||||
image: alpine/git
|
||||
settings:
|
||||
@ -17,6 +19,7 @@ steps:
|
||||
from_secret: GIT_PASSWORD
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: build hugo site
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
@ -30,7 +33,8 @@ steps:
|
||||
commands:
|
||||
- apk add libc6-compat libstdc++
|
||||
- /bin/hugo
|
||||
- name: deploy
|
||||
|
||||
- name: deploy on server
|
||||
image: drillster/drone-rsync # image docker permettant d'utiliser rsync pour déployer des fichiers sur un ou plusieurs hôtes
|
||||
settings:
|
||||
hosts: ["192.168.1.100"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user