Files
sabbatical.ipng.nl/.drone.yml
Pim van Pelt bae0b8b959
Some checks failed
continuous-integration/drone/push Build was killed
Update drone for dockerized gitea
2026-01-04 17:36:01 +01:00

40 lines
861 B
YAML

kind: pipeline
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git lfs install
- git clone http://gitea:3000/ipng/ipng.ch.git .
- git checkout $DRONE_COMMIT
- name: hugo
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: '-6'
source: public/
target: /nginx/sites/sabbatical.ipng.nl/
delete: true
recursive: true
secrets: [ drone_sshkey ]
image_pull_secrets:
- git_ipng_ch_docker