diff --git a/.drone.yml b/.drone.yml index 337e69a..f78f0fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: - name: hugo_prod image: code.ndumas.com/ndumas/hugo:latest commands: - - hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com + - ./build.sh main when: branch: include: @@ -20,7 +20,7 @@ steps: - name: hugo_dev image: code.ndumas.com/ndumas/hugo commands: - - hugo --enableGitInfo -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com + - ./build.sh dev when: branch: include: @@ -31,8 +31,7 @@ steps: - name: hugo_drafts image: code.ndumas.com/ndumas/hugo commands: - - ls -lah $HUGO_CACHEDIR/ - - hugo --enableGitInfo -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com + - ./build.sh drafts when: branch: include: