Files
ipng.ch/.drone.yml
Pim van Pelt 4210f97c9d
All checks were successful
continuous-integration/drone/push Build is passing
bump Hugo to release 0.130.0
2024-08-05 18:20:24 +02:00

34 lines
765 B
YAML

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: pimvanpelt/drone-hugo:release-0.130.0
settings:
hugo_version: 0.130.0
extended: true
- name: rsync
image: drillster/drone-rsync
settings:
user: drone
key:
from_secret: drone_sshkey
hosts:
- nginx0.chrma0.net.ipng.ch
- nginx0.chplo0.net.ipng.ch
- nginx0.nlams1.net.ipng.ch
- nginx0.nlams2.net.ipng.ch
port: 22
args: '-6'
source: public/
target: /var/www/ipng.ch/
delete: true
recursive: true
secrets: [ drone_sshkey ]