The DevOps Blog
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.

26 lines
394B

  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: Deploy
  5. steps:
  6. - name: build
  7. image: nikola:20200217
  8. volumes:
  9. - name: blog-path
  10. path: /drone/src/output/
  11. environment:
  12. UID:
  13. from_secret: uid
  14. GID:
  15. from_secret: gid
  16. commands:
  17. - nikola build
  18. - chown -R "$UID":"$GID" output/*
  19. volumes:
  20. - name: blog-path
  21. host:
  22. path: /mnt/blog/