pipeline: modify_staging: image: debian:stretch commands: - mv content/_meta-staging.mds content/_meta.md - mv config/config-staging.yml config/config.yml deploy_staging: image: appleboy/drone-scp host: gitlab.karathan.at port: 22 target: "/var/www/blog-staging" source: "*" secrets: [ ssh_password, ssh_username ] branches: [ staging ]