This commit is contained in:
Lukas 2024-03-24 15:45:15 -04:00
parent f8dc7e71a4
commit bbadc67556
5 changed files with 22 additions and 6 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public/

5
Jenkinsfile vendored
View File

@ -11,15 +11,14 @@ pipeline {
stage('Deploy') {
steps {
echo 'Hello World'
sh 'ls public'
sshagent(credentials: ['d82f9436-4c96-44c2-9ed3-b21481e7b742']) {
sh '''
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
ssh-keyscan -t rsa,dsa lvacula.com >> ~/.ssh/known_hosts
rsync -avz -e "ssh -o StrictHostKeyChecking=no" public/. greywolver@lvacula.com:lvacula.com-docker/volumes/blog
rsync -az -e "ssh -o StrictHostKeyChecking=no" public/. greywolver@lvacula.com:lvacula.com-docker/volumes/blog
'''
}
}
}
}
}
}

View File

@ -72,7 +72,8 @@ thumbnail_sizes = [128, 256]
# link_instagram_username = ""
menu_links = [
{ url = "$BASE_URL/", name = "About" },
{ url = "$BASE_URL", name = "Home" },
{ url = "$BASE_URL/about/", name = "About" },
{ url = "$BASE_URL/posts/", name = "Posts" },
{ url = "$BASE_URL/tags/", name = "Tags" },
# { url = "https://github.com/jimmyff/zola-inky", name = "Github" },

View File

@ -0,0 +1,15 @@
+++
title = "I have conqured Podman's YAML"
date = 2023-11-18
[taxonomies]
tags= ["shortnotes"]
+++
I decided that I was done with Gitea's weird port mapping, so I tried to fix it.
Several hours of head-bashing later, I was left with a corrupted database and no Gitea instance.
I'm now writing this several hours *after that*.
I've learned a surprising amount about Podman (compared to Docker), Kubernetes, pods, and several other things that I'll probably end up using at work some day.
Expect a post some time this week about deploying a Zola static site with Jenkins.
And maybe some notes on why I switched from Wordpress to Zola.

View File

@ -1,9 +1,9 @@
+++
title = "Example posts"
title = "Posts"
sort_by = "date"
template = "posts.html"
page_template = "post.html"
transparent = true
+++
Posts
A reverse-chronological list of posts.