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
|
||||
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
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
|
||||
|
Loading…
Reference in New Issue
Block a user