Files
ipng.ch/.drone.yml
2026-01-04 16:32:33 +01:00

40 lines
863 B
YAML

kind: pipeline
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git lfs install
- git clone http://gitea/ipng/ipng.ch.git
# - git lfs pull
- git checkout $DRONE_COMMIT
- name: build
image: git.ipng.ch/ipng/drone-hugo:release-0.148.2
settings:
hugo_version: 0.148.2
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: '-6u --delete-after'
source: public/
target: /nginx/sites/ipng.ch/
recursive: true
secrets: [ drone_sshkey ]
image_pull_secrets:
- git_ipng_ch_docker