updated .drone.yml + hugo config
Some checks reported errors
continuous-integration/drone/push Build encountered an error
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:
parent
cb0dade65b
commit
f49929e49d
13
.drone.yml
13
.drone.yml
@ -1,9 +1,10 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: hugo_builder
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: hugo-std
|
||||||
|
pull: if-not-exists
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.65.3
|
hugo_version: 0.65.3
|
||||||
@ -12,3 +13,11 @@ steps:
|
|||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
- hugo --gc=true
|
- 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
|
||||||
|
16
config.toml
16
config.toml
@ -1,4 +1,4 @@
|
|||||||
baseurl = "/~y192235/"
|
baseurl = "/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
theme = "hello-friend-ng"
|
theme = "hello-friend-ng"
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ theme = "hello-friend-ng"
|
|||||||
images = [""]
|
images = [""]
|
||||||
|
|
||||||
# Directory name of your blog content (default is `content/posts`)
|
# Directory name of your blog content (default is `content/posts`)
|
||||||
contentTypeName = "status"
|
contentTypeName = "posts"
|
||||||
# Default theme "light" or "dark"
|
# Default theme "light" or "dark"
|
||||||
defaultTheme = "dark"
|
defaultTheme = "dark"
|
||||||
|
|
||||||
@ -28,12 +28,12 @@ theme = "hello-friend-ng"
|
|||||||
logoHomeLink = "/"
|
logoHomeLink = "/"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "telegram"
|
name = "telegram"
|
||||||
url = "https://t.me/#"
|
url = "https://t.me/#"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "email"
|
name = "email"
|
||||||
url = "mailto:"
|
url = "mailto:"
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
@ -45,13 +45,13 @@ theme = "hello-friend-ng"
|
|||||||
|
|
||||||
[languages.en.params.logo]
|
[languages.en.params.logo]
|
||||||
logoText = "dotya.ml"
|
logoText = "dotya.ml"
|
||||||
logoHomeLink = "/~y192235/"
|
logoHomeLink = "/"
|
||||||
# or
|
# or
|
||||||
#
|
#
|
||||||
# path = "/img/your-example-logo.svg"
|
# path = "/img/your-example-logo.svg"
|
||||||
# alt = "Your example logo alt text"
|
# 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]
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
|
6
deploy
6
deploy
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
USER=y192235
|
USER=dotyaoverlord
|
||||||
HOST=mrkev.fme.vutbr.cz
|
HOST=dotya.ml
|
||||||
DIR=public_html/
|
DIR=public/
|
||||||
|
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
Loading…
Reference in New Issue
Block a user