Files
sabbatical.ipng.nl/.drone.yml
Pim van Pelt d3c1eb4b51
All checks were successful
continuous-integration/drone/push Build is passing
Make file identical to ipng.ch's except for the rsync destination
2024-08-07 19:11:04 +02:00

36 lines
767 B
YAML

kind: pipeline
name: default
steps:
- name: git-lfs
image: alpine/git
commands:
- git lfs install
- git lfs pull
- name: build
image: git.ipng.ch/ipng/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/sabbatical.ipng.nl/
delete: true
recursive: true
secrets: [ drone_sshkey ]
image_pull_secrets:
- git_ipng_ch_docker