Canary Hugo website on chrma0 -- currently drained
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
32
.drone.yml
Normal file
32
.drone.yml
Normal file
@ -0,0 +1,32 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: git-lfs
|
||||
image: alpine/git
|
||||
commands:
|
||||
# - git submodule update --init --recursive --remote
|
||||
- git lfs install
|
||||
- git lfs pull
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
hugo_version: 0.79.0
|
||||
extended: true
|
||||
validate: true
|
||||
- name: rsync
|
||||
image: drillster/drone-rsync
|
||||
settings:
|
||||
user: drone
|
||||
key:
|
||||
from_secret: drone_sshkey
|
||||
hosts:
|
||||
- nginx0.chrma0.net.ipng.ch
|
||||
port: 22
|
||||
args: '-6'
|
||||
source: public/
|
||||
target: /var/www/ipng.ch/
|
||||
delete: true
|
||||
recursive: true
|
||||
secrets: [ drone_sshkey ]
|
||||
|
Reference in New Issue
Block a user