|
|
@ -9,7 +9,7 @@ steps:
|
|
|
|
- name: hugo
|
|
|
|
- name: hugo
|
|
|
|
image: code.ndumas.com/ndumas/hugo
|
|
|
|
image: code.ndumas.com/ndumas/hugo
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- hugo -d /drone/src/public/ --baseURL https://blog.ndumas.com
|
|
|
|
- hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com
|
|
|
|
- name: publish
|
|
|
|
- name: publish
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- hugo
|
|
|
|
- hugo
|
|
|
@ -40,7 +40,7 @@ steps:
|
|
|
|
- name: hugo
|
|
|
|
- name: hugo
|
|
|
|
image: code.ndumas.com/ndumas/hugo
|
|
|
|
image: code.ndumas.com/ndumas/hugo
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- hugo -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com
|
|
|
|
- hugo --enableGitInfo -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com
|
|
|
|
- name: publish
|
|
|
|
- name: publish
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- hugo
|
|
|
|
- hugo
|
|
|
@ -71,7 +71,7 @@ steps:
|
|
|
|
- name: hugo
|
|
|
|
- name: hugo
|
|
|
|
image: code.ndumas.com/ndumas/hugo
|
|
|
|
image: code.ndumas.com/ndumas/hugo
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- hugo -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com
|
|
|
|
- hugo --enableGitInfo -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com
|
|
|
|
- name: publish
|
|
|
|
- name: publish
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- hugo
|
|
|
|
- hugo
|
|
|
|