fork of rezept-schneider.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
802 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. kind: pipeline
  2. type: docker
  3. name: default
  4. steps:
  5. - name: submodules
  6. image: alpine/git
  7. commands:
  8. #- git submodule update --recursive --remote
  9. - git clone https://git.schneider-hosting.de/schneider/toasted-cactus.git themes/toasted-cactus
  10. - name: build
  11. image: plugins/hugo
  12. settings:
  13. validate: true
  14. output: public/drone-generated
  15. url: https://rezept-schneider.de
  16. hugo_version: 0.62.1
  17. theme: toasted-cactus
  18. - name: deploy
  19. image: drillster/drone-rsync
  20. settings:
  21. hosts: [ "rezept-schneider.de" ]
  22. target: /var/www/html/rezeptschneider/public/
  23. source: public/drone-generated/
  24. user: deploy-rezept
  25. key:
  26. from_secret: rsync_key