|
|
|
@ -13,9 +13,12 @@ steps:
|
|
|
|
|
- hugo
|
|
|
|
|
- name: publish
|
|
|
|
|
image: alpine:3
|
|
|
|
|
commands:
|
|
|
|
|
- cp -r public/* /mnt/blog/
|
|
|
|
|
volumes:
|
|
|
|
|
- name: blog
|
|
|
|
|
host:
|
|
|
|
|
path: /var/www/blog.ndumas.com
|
|
|
|
|
path: /mnt/blog/
|
|
|
|
|
commands:
|
|
|
|
|
- cp -r public/* /mnt/blog/
|
|
|
|
|
volumes:
|
|
|
|
|
- name: blog
|
|
|
|
|
host:
|
|
|
|
|
path: /var/www/blog.ndumas.com
|
|
|
|
|