benharr.is source code https://benharr.is
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.

25 lines
362 B

2 years ago
2 years ago
2 years ago
2 years ago
  1. ---
  2. kind: pipeline
  3. type: ssh
  4. name: deploy
  5. server:
  6. host:
  7. from_secret: host
  8. user:
  9. from_secret: username
  10. ssh_key:
  11. from_secret: ssh_key
  12. clone:
  13. disable: true
  14. trigger:
  15. branch:
  16. - master
  17. steps:
  18. - name: hello
  19. commands:
  20. - sudo -Hu www-data git -C /var/www/benharr.is pull --rebase origin master