kind: pipeline
type: docker
name: default

steps:
- name: Publish
  image: git.simonpetit.top/simonpetit/bob:0.1.0
  command:
    - publish

- name: Deploy
  image: appleboy/drone-scp
  settings:
    host:
      - simonpetit.top
    username: debian
    password:
      from_secret: ssh_password
    port: 22
    target: /var/www/html/blog/
    source:
      - index.html
      - posts
      - css