nemunai.re/.woodpecker.yaml
Pierre-Olivier Mercier a27a2a6283
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
Don't publish on local s3 anymore
2025-03-05 03:44:13 +01:00

45 lines
885 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
steps:
build-production:
image: plugins/hugo
settings:
hugo_version: 0.127.0
when:
branch: master
build-drafts:
image: plugins/hugo
settings:
hugo_version: 0.127.0
buildDrafts: true
buildExpired: true
buildFuture: true
when:
branch:
exclude:
- master
deploy-on-ovh:
image: nemunaire/drone-ftps
settings:
hostname: ftp.cluster021.hosting.ovh.net
ftp_username:
from_secret: ovh_ftp_username
ftp_password:
from_secret: ovh_ftp_password
clean_dir: true
pre_action: 'set ftp:passive-mode true'
secure: false
src_dir: /public/
dest_dir: /www/
when:
- branch: master
event:
- cron
- push
- tag