updated .drone.yml + hugo config
Some checks reported errors
continuous-integration/drone/push Build encountered an error

* attempting to build the site with hugo-extended
* replaced old references with relevant paths
This commit is contained in:
surtur 2020-02-27 23:34:34 +01:00
parent cb0dade65b
commit f49929e49d
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
3 changed files with 22 additions and 13 deletions

@ -1,9 +1,10 @@
kind: pipeline
type: docker
name: default
name: hugo_builder
steps:
- name: build
- name: hugo-std
pull: if-not-exists
image: plugins/hugo
settings:
hugo_version: 0.65.3
@ -12,3 +13,11 @@ steps:
- git submodule init
- git submodule update
- hugo --gc=true
- name: hugo-extended
pull: if-not-exists
image: archlinux/archlinux-docker
commands:
- pacman -Syu --noconfirm wget tar
- wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.tar.gz | tar xfv -
- ./hugo --gc=true

@ -1,4 +1,4 @@
baseurl = "/~y192235/"
baseurl = "/"
languageCode = "en-us"
theme = "hello-friend-ng"
@ -17,7 +17,7 @@ theme = "hello-friend-ng"
images = [""]
# Directory name of your blog content (default is `content/posts`)
contentTypeName = "status"
contentTypeName = "posts"
# Default theme "light" or "dark"
defaultTheme = "dark"
@ -45,7 +45,7 @@ theme = "hello-friend-ng"
[languages.en.params.logo]
logoText = "dotya.ml"
logoHomeLink = "/~y192235/"
logoHomeLink = "/"
# or
#
# path = "/img/your-example-logo.svg"

6
deploy

@ -1,8 +1,8 @@
#!/bin/sh
USER=y192235
HOST=mrkev.fme.vutbr.cz
DIR=public_html/
USER=dotyaoverlord
HOST=dotya.ml
DIR=public/
git submodule init
git submodule update