drone config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
901a202f85
commit
85151cd82f
|
@ -0,0 +1,30 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --recursive --init
|
||||
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
validate: true
|
||||
url: http://moonside.games/docs/moonworks
|
||||
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
settings:
|
||||
hosts:
|
||||
- moonside.games
|
||||
target: /var/www/html/docs/moonworks
|
||||
source: public/
|
||||
recursive: true
|
||||
user: hugo
|
||||
key:
|
||||
from_secret: rsync_key
|
||||
when:
|
||||
branch:
|
||||
- main
|
Loading…
Reference in New Issue