It would help to actually spell the flag correctly
continuous-integration/drone/push Build is failing Details

drafts
Nick Dumas 5 months ago
parent 5ae9fac278
commit eabf6e747c

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

@ -1,3 +1,3 @@
{{ $baseURL := (urls.AbsURL "") }}
{{ $baseURL := urls.AbsURL "" }}
{{ $baseURL }}
<script defer data-domain='{{ if eq $baseURL "https://blog.ndumas.com/" }}blog.ndumas.com{{ else }}dev.blog.ndumas.com{{ end }}' src="https://analytics.ndumas.com/js/script.js"></script>

Loading…
Cancel
Save