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

View File

@ -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

View File

@ -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"
@ -28,12 +28,12 @@ theme = "hello-friend-ng"
logoHomeLink = "/"
[[params.social]]
name = "telegram"
url = "https://t.me/#"
name = "telegram"
url = "https://t.me/#"
[[params.social]]
name = "email"
url = "mailto:"
name = "email"
url = "mailto:"
[languages]
[languages.en]
@ -45,13 +45,13 @@ theme = "hello-friend-ng"
[languages.en.params.logo]
logoText = "dotya.ml"
logoHomeLink = "/~y192235/"
logoHomeLink = "/"
# or
#
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
# You can create a language based menu
# You can create a language based menu
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "about"

6
deploy
View File

@ -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